aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/select-list/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/select-list/main.js')
-rw-r--r--server/sonar-web/src/main/js/components/select-list/main.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/components/select-list/main.js b/server/sonar-web/src/main/js/components/select-list/main.js
index 64902383add..3ebfeafaa9b 100644
--- a/server/sonar-web/src/main/js/components/select-list/main.js
+++ b/server/sonar-web/src/main/js/components/select-list/main.js
@@ -18,17 +18,18 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import React from 'react';
+import PropTypes from 'prop-types';
import Controls from './controls';
import List from './list';
import Footer from './footer';
export default class Main extends React.PureComponent {
static propTypes = {
- loadItems: React.PropTypes.func.isRequired,
- renderItem: React.PropTypes.func.isRequired,
- getItemKey: React.PropTypes.func.isRequired,
- selectItem: React.PropTypes.func.isRequired,
- deselectItem: React.PropTypes.func.isRequired
+ loadItems: PropTypes.func.isRequired,
+ renderItem: PropTypes.func.isRequired,
+ getItemKey: PropTypes.func.isRequired,
+ selectItem: PropTypes.func.isRequired,
+ deselectItem: PropTypes.func.isRequired
};
state = {