install and use prop-types over React.PropTypes

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/4989/head
Michael Telatynski 2017-09-13 14:23:35 +01:00
parent 32ea675c92
commit 2316f4230e
No known key found for this signature in database
GPG Key ID: 3F879DA5AD802A5E
2 changed files with 3 additions and 1 deletions

View File

@ -70,6 +70,7 @@
"matrix-react-sdk": "0.10.2",
"modernizr": "^3.1.0",
"pako": "^1.0.5",
"prop-types": "^15.5.10",
"react": "^15.6.0",
"react-dnd": "^2.1.4",
"react-dnd-html5-backend": "^2.1.2",

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 = {