MCPcopy Create free account
hub / github.com/dailydotdev/apps / render

Method render

packages/shared/src/lib/dynamicParent.tsx:57–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 }
56
57 render() {
58 const { componentClass } = this.state;
59 const { children } = this.props;
60 if (componentClass) {
61 return React.createElement(componentClass, this.props, children);
62 }
63 return React.createElement(
64 placeholder as
65 | keyof ReactHTML
66 | FunctionComponent<PC & T & { shouldLoad: boolean }>,
67 this.props,
68 children,
69 );
70 }
71 };
72}

Callers 4

MatrixFunction · 0.45
MatrixFunction · 0.45
renderAppFunction · 0.45
renderAppFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected