diff options
Diffstat (limited to 'webapp/components/backstage/components/backstage_list.jsx')
-rw-r--r-- | webapp/components/backstage/components/backstage_list.jsx | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/webapp/components/backstage/components/backstage_list.jsx b/webapp/components/backstage/components/backstage_list.jsx index 2dcecb90a..d0a2426ec 100644 --- a/webapp/components/backstage/components/backstage_list.jsx +++ b/webapp/components/backstage/components/backstage_list.jsx @@ -1,3 +1,5 @@ +import PropTypes from 'prop-types'; + // Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved. // See License.txt for license information. @@ -10,14 +12,14 @@ import LoadingScreen from 'components/loading_screen.jsx'; export default class BackstageList extends React.Component { static propTypes = { - children: React.PropTypes.node, - header: React.PropTypes.node.isRequired, - addLink: React.PropTypes.string, - addText: React.PropTypes.node, - emptyText: React.PropTypes.node, - helpText: React.PropTypes.node, - loading: React.PropTypes.bool.isRequired, - searchPlaceholder: React.PropTypes.string + children: PropTypes.node, + header: PropTypes.node.isRequired, + addLink: PropTypes.string, + addText: PropTypes.node, + emptyText: PropTypes.node, + helpText: PropTypes.node, + loading: PropTypes.bool.isRequired, + searchPlaceholder: PropTypes.string } static defaultProps = { |