MCPcopy Create free account
hub / github.com/Lobos/react-ui / isTextComponent

Function isTextComponent

docs/lib/react.js:12097–12099  ·  view source on GitHub ↗

* @param {ReactComponent} component * @return {boolean}

(component)

Source from the content-addressed store, hash-verified

12095 * @return {boolean}
12096 */
12097function isTextComponent(component) {
12098 return component instanceof textComponentClass;
12099}
12100
12101var ReactNativeComponent = {
12102 getComponentClassForElement: getComponentClassForElement,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…