Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
primogenial
/
plugins
/
woocommerce
/
packages
/
woocommerce-blocks
/
assets
/
js
/
blocks
/
attribute-filter
:
preview.tsx
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
/** * External dependencies */ import Label from '@woocommerce/base-components/filter-element-label'; export const previewOptions = [ { value: 'preview-1', formattedValue: 'preview-1', name: 'Blue', label: <Label name="Blue" count={ 3 } />, textLabel: 'Blue (3)', }, { value: 'preview-2', formattedValue: 'preview-2', name: 'Green', label: <Label name="Green" count={ 3 } />, textLabel: 'Green (3)', }, { value: 'preview-3', formattedValue: 'preview-3', name: 'Red', label: <Label name="Red" count={ 2 } />, textLabel: 'Red (2)', }, ]; export const previewAttributeObject = { id: 0, name: 'preview', taxonomy: 'preview', label: 'Preview', };