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

Function encodeList

integrations/tests/src/utils/serializer/encode.ts:61–68  ·  view source on GitHub ↗
(
  element: ReactElement<ListProps<RowComponentData>>
)

Source from the content-addressed store, hash-verified

59}
60
61function encodeList(
62 element: ReactElement<ListProps<RowComponentData>>
63): EncodedListElement {
64 return {
65 props: element.props,
66 type: "List"
67 };
68}
69
70function encodeRowComponent(
71 element: ReactElement<RowComponentProps<RowComponentData>>

Callers 1

encodeChildrenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected