summaryrefslogtreecommitdiffstats
path: root/webapp/components/multiselect/multiselect_list.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/multiselect/multiselect_list.jsx')
-rw-r--r--webapp/components/multiselect/multiselect_list.jsx16
1 files changed, 9 insertions, 7 deletions
diff --git a/webapp/components/multiselect/multiselect_list.jsx b/webapp/components/multiselect/multiselect_list.jsx
index e5faecb5a..4e5878790 100644
--- a/webapp/components/multiselect/multiselect_list.jsx
+++ b/webapp/components/multiselect/multiselect_list.jsx
@@ -5,6 +5,8 @@ import {cmdOrCtrlPressed} from 'utils/utils.jsx';
import Constants from 'utils/constants.jsx';
const KeyCodes = Constants.KeyCodes;
+import PropTypes from 'prop-types';
+
import React from 'react';
import {FormattedMessage} from 'react-intl';
@@ -159,11 +161,11 @@ MultiSelectList.defaultProps = {
};
MultiSelectList.propTypes = {
- options: React.PropTypes.arrayOf(React.PropTypes.object),
- optionRenderer: React.PropTypes.func,
- page: React.PropTypes.number,
- perPage: React.PropTypes.number,
- onPageChange: React.PropTypes.func,
- onAdd: React.PropTypes.func,
- onSelect: React.PropTypes.func
+ options: PropTypes.arrayOf(PropTypes.object),
+ optionRenderer: PropTypes.func,
+ page: PropTypes.number,
+ perPage: PropTypes.number,
+ onPageChange: PropTypes.func,
+ onAdd: PropTypes.func,
+ onSelect: PropTypes.func
};