Skip to content

Commit e4c20ef

Browse files
committed
fix #68 Use prop-types package
1 parent 1c73c5a commit e4c20ef

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"input"
2929
],
3030
"dependencies": {
31+
"prop-types": "^15.5.8",
3132
"select2": "^4.0.0",
3233
"shallow-equal-fuzzy": "^0.0.2"
3334
},

src/components/Select2.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { Component, PropTypes } from 'react';
1+
import React, { Component } from 'react';
2+
import PropTypes from 'prop-types';
23
import ReactDOM from 'react-dom';
34
import shallowEqualFuzzy from 'shallow-equal-fuzzy';
45
import $ from 'jquery';

0 commit comments

Comments
 (0)