1
0
mirror of https://github.com/fspc/workstand.git synced 2025-04-04 10:03:22 -04:00

Add to propTypes.

This commit is contained in:
Drew Larson 2017-01-29 11:52:11 -06:00
parent 1f07e7dbe5
commit 523bfa203b

View File

@ -2,7 +2,7 @@ import Checkbox from 'material-ui/Checkbox';
import Dialog from 'material-ui/Dialog'; import Dialog from 'material-ui/Dialog';
import FlatButton from 'material-ui/FlatButton'; import FlatButton from 'material-ui/FlatButton';
import moment from 'moment-timezone'; import moment from 'moment-timezone';
import React from 'react'; import React, { PropTypes } from 'react';
import TextField from 'material-ui/TextField'; import TextField from 'material-ui/TextField';
import Source from '../Source'; import Source from '../Source';
@ -12,6 +12,10 @@ import Size from '../Size';
* A modal dialog can only be closed by selecting one of the actions. * A modal dialog can only be closed by selecting one of the actions.
*/ */
export default class BikeModal extends React.Component { export default class BikeModal extends React.Component {
static propTypes = {
open: PropTypes.boolean,
}
constructor(props) { constructor(props) {
super(props); super(props);