useVariantPicker
@shopify/shop-minis-platform-sdk / components/VariantPicker/hooks/useVariantPicker
PickerOption
Extends
Properties
availability
availability:
VariantAvailability
imageUrl?
optional
imageUrl:string
name
name:
string
Inherited from
selected
selected:
boolean
value
value:
string
Inherited from
variantId?
optional
variantId:string
useVariantPicker()
useVariantPicker(
__namedParameters
):UseVariantPicker
Parameters
Parameter | Type |
---|---|
__namedParameters | UseVariantPickerProps |
Returns
UseVariantPicker