GitHub

DaffSwatchOption

An optional field for the hex color code for DaffConfigurableProductOptionValues that need it.

import { DaffSwatchOption } from '@daffodil/product-configurable'
interface DaffSwatchOption {
  value: string
  thumbnail: string
}

Properties

Name Type Description
value string

A hex color value.

thumbnail string