File "preview.tsx"

Full Path: /home/warrior1/public_html/plugins/woocommerce/packages/woocommerce-blocks/assets/js/blocks/attribute-filter/preview.tsx
File size: 686 bytes
MIME-type: text/x-java
Charset: utf-8

/**
 * 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',
};