* Get a native internal component class for a specific tag. * * @param {ReactElement} element The element to create. * @return {function} The internal class constructor function.
(element)
| 12078 | * @return {function} The internal class constructor function. |
| 12079 | */ |
| 12080 | function createInternalComponent(element) { |
| 12081 | !genericComponentClass ? "development" !== 'production' ? invariant(false, 'There is no registered component for the tag %s', element.type) : invariant(false) : void 0; |
| 12082 | return new genericComponentClass(element); |
| 12083 | } |
| 12084 | |
| 12085 | /** |
| 12086 | * @param {ReactText} text |
nothing calls this directly
no test coverage detected
searching dependent graphs…