File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { findDOMNode } from 'react-dom' ;
33import PropTypes from 'prop-types' ;
4+ import createReactClass from 'create-react-class' ;
45import isEqual from 'lodash/isEqual' ;
56import clone from 'lodash/clone' ;
67import uuid from '../helpers/uuid' ;
@@ -30,7 +31,7 @@ const HANDLER_NAMES = EVENTS.map((event) => {
3031 return 'on' + ucFirst ( event ) ;
3132} ) ;
3233
33- const TinyMCE = React . createClass ( {
34+ const TinyMCE = createReactClass ( {
3435 displayName : 'TinyMCE' ,
3536
3637 propTypes : {
Original file line number Diff line number Diff line change 2323 "react-dom" : " ^0.14.0 || ^15.0.0 || ^16.0.0"
2424 },
2525 "devDependencies" : {
26- "prop-types" : " ^15.6.0" ,
2726 "rackt-cli" : " ^0.8.0" ,
2827 "react" : " ^16.0.0" ,
2928 "react-dom" : " ^16.0.0"
3029 },
3130 "dependencies" : {
32- "lodash" : " >=4.17.4"
31+ "create-react-class" : " ^15.6.2" ,
32+ "lodash" : " >=4.17.4" ,
33+ "prop-types" : " ^15.6.0"
3334 }
3435}
You can’t perform that action at this time.
0 commit comments