summaryrefslogtreecommitdiffstats
path: root/src/app/globalInlineMessageBar/GlobalInlineMessageBar.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/globalInlineMessageBar/GlobalInlineMessageBar.jsx')
-rw-r--r--src/app/globalInlineMessageBar/GlobalInlineMessageBar.jsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/app/globalInlineMessageBar/GlobalInlineMessageBar.jsx b/src/app/globalInlineMessageBar/GlobalInlineMessageBar.jsx
index cb8b3df..ff3ccae 100644
--- a/src/app/globalInlineMessageBar/GlobalInlineMessageBar.jsx
+++ b/src/app/globalInlineMessageBar/GlobalInlineMessageBar.jsx
@@ -20,6 +20,7 @@
*/
import {connect} from 'react-redux';
import React, {Component} from 'react';
+import { PropTypes } from 'prop-types';
import InlineMessage from 'generic-components/InlineMessage/InlineMessage.jsx';
@@ -37,8 +38,8 @@ let mapStateToProps = ({globalInlineMessageBar}) => {
export class GlobalInlineMessageBar extends Component {
static propTypes = {
- feedbackMsgText: React.PropTypes.string,
- feedbackMsgSeverity: React.PropTypes.string
+ feedbackMsgText: PropTypes.string,
+ feedbackMsgSeverity: PropTypes.string
};
render() {