Grid
@shopify/shop-minis-platform-sdk / components/Grid
GridRef\<ItemT>
GridRef\<
ItemT
>:FlatList
\<ItemPair
\<ItemT
>>
Type Parameters
Type Parameter |
---|
ItemT |
GridRenderItem()\<ItemT>
GridRenderItem\<
ItemT
>: (info
) =>React.ReactElement
|null
Type Parameters
Type Parameter |
---|
ItemT |
Parameters
Parameter | Type |
---|---|
info | ProductRenderItemInfo \<ItemT > |
Returns
React.ReactElement
| null
Grid()
Grid\<
ItemT
>(props
):ReactElement
\<any
,string
|JSXElementConstructor
\<any
>>
Type Parameters
Type Parameter |
---|
ItemT extends GridData |
Parameters
Parameter | Type |
---|---|
props | Omit \<FlatListProps \<ItemPair \<ItemT >>, "data" | "renderItem" > & object & object |
Returns
ReactElement
\<any
, string
| JSXElementConstructor
\<any
>>