Browse Source

Add to propTypes.

feature/bike-tracking
Drew Larson 7 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 FlatButton from 'material-ui/FlatButton';
import moment from 'moment-timezone';
import React from 'react';
import React, { PropTypes } from 'react';
import TextField from 'material-ui/TextField';
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.
*/
export default class BikeModal extends React.Component {
static propTypes = {
open: PropTypes.boolean,
}
constructor(props) {
super(props);

Loading…
Cancel
Save