Follow up react's deprecation

This commit is contained in:
Yuya Ochiai
2017-05-12 00:04:27 +09:00
parent f6ef409cb0
commit 2e310dc1ee
14 changed files with 85 additions and 66 deletions

View File

@@ -1,4 +1,5 @@
const React = require('react');
const PropTypes = require('prop-types');
const ReactDOM = require('react-dom');
const {Button, Col, ControlLabel, Form, FormGroup, FormControl, Modal} = require('react-bootstrap');
@@ -86,12 +87,12 @@ class LoginModal extends React.Component {
}
LoginModal.propTypes = {
authInfo: React.PropTypes.object,
authServerURL: React.PropTypes.string,
onCancel: React.PropTypes.func,
onLogin: React.PropTypes.func,
request: React.PropTypes.object,
show: React.PropTypes.bool
authInfo: PropTypes.object,
authServerURL: PropTypes.string,
onCancel: PropTypes.func,
onLogin: PropTypes.func,
request: PropTypes.object,
show: PropTypes.bool
};
module.exports = LoginModal;