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

Function createInstanceForText

docs/lib/react.js:12089–12091  ·  view source on GitHub ↗

* @param {ReactText} text * @return {ReactComponent}

(text)

Source from the content-addressed store, hash-verified

12087 * @return {ReactComponent}
12088 */
12089function createInstanceForText(text) {
12090 return new textComponentClass(text);
12091}
12092
12093/**
12094 * @param {ReactComponent} component

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…