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

Function StringLiteral

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

Source from the content-addressed store, hash-verified

176}
177
178function StringLiteral({value}) {
179 return <span className="token hljs-string">{`'${value.replace(/'/, "\\'")}'`}</span>;
180}
181
182function NumberLiteral({value}) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected