Skip to content

ListViewContextProvider

ListViewContextProvider(props): ReactNode

Defined in: packages/react/src/collections/listView/ListViewContext.tsx:163

Mounts ListViewContext for the subtree it wraps. CollectionListView is the only caller — it recomputes ListViewContextState from its own state every render and wraps ListViewLayout with it.

ReactNode

The subtree that consumes it (ListViewLayout and its seven list.* SlotOutlets).

ListViewContextState

The resolved list state to provide.

ReactNode

The context provider wrapping props.children.