MCPcopy Create free account
hub / github.com/adobe/react-spectrum / render

Method render

packages/dev/s2-docs/src/ExampleOutput.tsx:89–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87 }
88
89 render() {
90 if (this.state.error) {
91 return (
92 <InlineAlert variant="negative">
93 <Heading>Error</Heading>
94 <Content>{this.state.error}</Content>
95 </InlineAlert>
96 );
97 }
98
99 return this.props.children;
100 }
101}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected