mirror of
https://github.com/fspc/workstand.git
synced 2025-02-23 09:13:23 -05:00
Add propTypes.
This commit is contained in:
parent
6cf242d62e
commit
3e3db58953
@ -3,6 +3,14 @@ import { ListItem } from 'material-ui/List';
|
|||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
|
|
||||||
export default class SignedInList extends React.Component {
|
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) {
|
constructor(props) {
|
||||||
super(props);
|
super(props);
|
||||||
this.state = { tick: 0 };
|
this.state = { tick: 0 };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user