components_ProductCardGrid
@shopify/shop-minis-platform-sdk / components/ProductCardGrid
Module: components/ProductCardGrid
Table of contents
Type Aliases
Functions
Type Aliases
ProductCardGridRef
Ƭ ProductCardGridRef: FlatList
ProductRenderItem
Ƭ ProductRenderItem: (info
: ProductRenderItemInfo
) => React.ReactElement
| null
Type declaration
▸ (info
): React.ReactElement
| null
Parameters
Name | Type |
---|---|
info | ProductRenderItemInfo |
Returns
React.ReactElement
| null
Functions
ProductCardGrid
▸ ProductCardGrid(props
): ReactNode
NOTE: Exotic components are not callable.
Parameters
Name | Type |
---|---|
props | Omit <FlatListProps <any >, "data" | "renderItem" > & { products : (null | ProductCardFragmentData )[] ; renderItem : ProductRenderItem } & RefAttributes <ProductCardGridRef > |
Returns
ReactNode