install and use prop-types over React.PropTypes

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2017-09-13 14:23:35 +01:00
parent 32ea675c92
commit 2316f4230e
2 changed files with 3 additions and 1 deletions

View File

@@ -16,7 +16,8 @@ limitations under the License.
'use strict';
import React, {PropTypes} from 'react';
import React from 'react';
import PropTypes from 'prop-types';
export default class GenericTextContextMenu extends React.Component {
static PropTypes = {