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

Function NumberLiteral

packages/dev/docs/src/types.js:182–184  ·  view source on GitHub ↗
({value})

Source from the content-addressed store, hash-verified

180}
181
182function NumberLiteral({value}) {
183 return <span className="token hljs-number">{'' + value}</span>;
184}
185
186function BooleanLiteral({value}) {
187 return <span className="token hljs-literal">{'' + value}</span>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected