MCPcopy Create free account
hub / github.com/bvaughn/react-window / decodeText

Function decodeText

integrations/tests/src/utils/serializer/decode.ts:71–76  ·  view source on GitHub ↗
(json: EncodedTextElement)

Source from the content-addressed store, hash-verified

69}
70
71function decodeText(json: EncodedTextElement): ReactElement<TextProps> {
72 return createElement("div", {
73 key: ++key,
74 ...json.props
75 });
76}

Callers 1

decodeChildrenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected