Browse Source

Add to propTypes.

feature/bike-tracking
Drew Larson 8 years ago
parent
commit
523bfa203b
  1. 6
      bikeshop_project/assets/js/bikes/components/BikeModal/index.jsx

6
bikeshop_project/assets/js/bikes/components/BikeModal/index.jsx

@ -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);

Loading…
Cancel
Save