Created
August 18, 2016 17:34
-
-
Save bassettsj/9f29c96d1510a99797bfc6af2a6fb3c6 to your computer and use it in GitHub Desktop.
react-toolbox-list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ListTest extends React.Component { | |
state = { | |
checkbox: false | |
}; | |
handleCheckboxChange = () => { | |
this.setState({checkbox: !this.state.checkbox}); | |
}; | |
render () { | |
return ( | |
<List selectable ripple> | |
<ListSubHeader caption='Questions' /> | |
<ListItem | |
leftIcon='schedule' | |
caption='When did you start your work?' | |
legend='Check-In Time' | |
rightIcon='reorder' | |
/> | |
<ListItem | |
leftIcon='schedule' | |
caption='When did you finish your work?' | |
legend='Check-Out Time' | |
rightIcon='reorder' | |
/> | |
<ListItem | |
leftIcon='edit' | |
caption='Get signature from your supervisor' | |
legend='Get Signature' | |
rightIcon='reorder' | |
/> | |
<ListItem | |
leftIcon='schedule' | |
caption='How long was your total break duration?' | |
legend='Total Break Duration' | |
rightIcon='reorder' | |
/> | |
</List> | |
); | |
} | |
} | |
return <ListTest />; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment