aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/select-list/item.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/select-list/item.js')
-rw-r--r--server/sonar-web/src/main/js/components/select-list/item.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/components/select-list/item.js b/server/sonar-web/src/main/js/components/select-list/item.js
index ecd5442c927..c03ef453c04 100644
--- a/server/sonar-web/src/main/js/components/select-list/item.js
+++ b/server/sonar-web/src/main/js/components/select-list/item.js
@@ -18,14 +18,15 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import React from 'react';
+import PropTypes from 'prop-types';
import Checkbox from '../controls/Checkbox';
export default class Item extends React.PureComponent {
static propTypes = {
- item: React.PropTypes.any.isRequired,
- renderItem: React.PropTypes.func.isRequired,
- selectItem: React.PropTypes.func.isRequired,
- deselectItem: React.PropTypes.func.isRequired
+ item: PropTypes.any.isRequired,
+ renderItem: PropTypes.func.isRequired,
+ selectItem: PropTypes.func.isRequired,
+ deselectItem: PropTypes.func.isRequired
};
onCheck = checked => {