Skip to main content

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
NameType
infoProductRenderItemInfo
Returns

React.ReactElement | null

Functions

ProductCardGrid

ProductCardGrid(props): ReactNode

NOTE: Exotic components are not callable.

Parameters

NameType
propsOmit<FlatListProps<any>, "data" | "renderItem"> & { products: (null | ProductCardFragmentData)[] ; renderItem: ProductRenderItem } & RefAttributes<ProductCardGridRef>

Returns

ReactNode