Skip to main content

Function: ProductGridConfigProvider()

ProductGridConfigProvider(value): Element

Defined in: context/ProductGridContext.tsx:137

Provider — ProductGrid wraps its card subtree with this so descendant cards read display flags and callbacks via useProductGridConfig instead of receiving them as threaded props.

Parameters​

value​

The grid config object shared with the card subtree.

children​

ReactNode

value​

ProductGridConfig

Returns​

Element

The provider element wrapping children.