summaryrefslogtreecommitdiffstats
path: root/webapp/components/loading_screen.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/loading_screen.jsx')
-rw-r--r--webapp/components/loading_screen.jsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/webapp/components/loading_screen.jsx b/webapp/components/loading_screen.jsx
index 2807cb0a7..e4821c07b 100644
--- a/webapp/components/loading_screen.jsx
+++ b/webapp/components/loading_screen.jsx
@@ -3,6 +3,8 @@
import {FormattedMessage} from 'react-intl';
+import PropTypes from 'prop-types';
+
import React from 'react';
export default class LoadingScreen extends React.Component {
@@ -44,6 +46,6 @@ LoadingScreen.defaultProps = {
position: 'relative'
};
LoadingScreen.propTypes = {
- position: React.PropTypes.oneOf(['absolute', 'fixed', 'relative', 'static', 'inherit']),
- message: React.PropTypes.node
+ position: PropTypes.oneOf(['absolute', 'fixed', 'relative', 'static', 'inherit']),
+ message: PropTypes.node
};