import { DaffConfigurableProductOptionValue } from '@daffodil/product-configurable'
The configurable option of a configurable product attribute. For example, this could be "blue" for the attribute "color" for a T-shirt.
interface DaffConfigurableProductOptionValue {
value: string
label: string
swatch: DaffSwatchOption
}
value string |
---|
The attribute option value. |
label string |
---|
The attribute option label. |
swatch DaffSwatchOption |
---|
An option for displaying a hex color. Can be used for product color attributes. |