mirror of
https://github.com/fspc/workstand.git
synced 2026-09-16 16:41:38 -04:00
Add propTypes.
This commit is contained in:
@@ -3,6 +3,14 @@ import { ListItem } from 'material-ui/List';
|
||||
import moment from 'moment';
|
||||
|
||||
export default class SignedInList extends React.Component {
|
||||
static propTypes = {
|
||||
members: PropTypes.arrayOf(PropTypes.shape({
|
||||
id: PropTypes.number,
|
||||
purpose: PropTypes.string,
|
||||
at: PropTypes.instanceOf(moment),
|
||||
})),
|
||||
}
|
||||
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = { tick: 0 };
|
||||
|
||||
Reference in New Issue
Block a user