Skip to content

Instantly share code, notes, and snippets.

@bassettsj
Created August 18, 2016 17:34
Show Gist options
  • Save bassettsj/9f29c96d1510a99797bfc6af2a6fb3c6 to your computer and use it in GitHub Desktop.
Save bassettsj/9f29c96d1510a99797bfc6af2a6fb3c6 to your computer and use it in GitHub Desktop.
react-toolbox-list
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