Skip to main content

VariantPicker

@shopify/shop-minis-platform-sdk / components/VariantPicker/VariantPicker

VariantPicker()

VariantPicker(__namedParameters): Element

Parameters

ParameterTypeDescription
__namedParametersobject-
__namedParameters.condensed?booleanDisplay a condensed version of the component with minimal UI
__namedParameters.initialSelectedOptionsVariantOption[]-
__namedParameters.onProductVariantUpdated(variant) => void-
__namedParameters.productOptionsProductOption[]-
__namedParameters.variantsVariant[]-

Returns

Element