Add collaboration feature
[sdc.git] / openecomp-ui / src / nfvo-components / input / ExpandableInput.jsx
index eab1d45..82fbe1d 100644 (file)
@@ -14,6 +14,7 @@
  * permissions and limitations under the License.
  */
 import React from 'react';
+import PropTypes from 'prop-types';
 import ReactDOM from 'react-dom';
 import SVGIcon from 'sdc-ui/lib/react/SVGIcon.js';
 import Input from 'nfvo-components/input/validation/InputWrapper.jsx';
@@ -76,9 +77,9 @@ class ExpandableInputOpened extends React.Component {
 class ExpandableInput extends React.Component {
 
        static propTypes = {
-               iconType: React.PropTypes.string,
-               onChange: React.PropTypes.func,
-               value: React.PropTypes.string
+               iconType: PropTypes.string,
+               onChange: PropTypes.func,
+               value: PropTypes.string
        };
 
        state = {showInput: false};