We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ef8fe7 + c1e1d87 commit 3279685Copy full SHA for 3279685
lib/ReactJsonSchema.js
@@ -1,5 +1,4 @@
1
-import { createElement } from 'react';
2
-import ReactDOMFactories from 'react/lib/ReactDOMFactories';
+import { DOM, createElement } from 'react';
3
4
let _componentMap = null;
5
@@ -41,7 +40,7 @@ export default class ReactJsonSchema {
41
40
Component = schema.component;
42
} else if (_componentMap && _componentMap[schema.component]) {
43
Component = _componentMap[schema.component];
44
- } else if (ReactDOMFactories.hasOwnProperty(schema.component)) {
+ } else if (DOM.hasOwnProperty(schema.component)) {
45
46
}
47
} else {
0 commit comments