useMinisParams
@shopify/shop-minis-platform-sdk / hooks/useMinisParams
useMinisParams()
useMinisParams\<
ExtensionData
>():MinisParamsContextValue
\<ExtensionData
>
Returns context information about the Mini. This includes the Mini's parameters, entry point and extensions information.
Type Parameters
Type Parameter | Default type |
---|---|
ExtensionData extends Object | Object |
Returns
MinisParamsContextValue
\<ExtensionData
>