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

Function decodeList

integrations/tests/src/utils/serializer/decode.ts:53–60  ·  view source on GitHub ↗
(
  json: EncodedListElement
)

Source from the content-addressed store, hash-verified

51}
52
53function decodeList(
54 json: EncodedListElement
55): ReactElement<ListProps<RowComponentData>> {
56 return createElement(List<RowComponentData>, {
57 key: ++key,
58 ...json.props
59 });
60}
61
62function decodeRowComponent(
63 json: EncodedRowComponentElement

Callers 1

decodeChildrenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected