GitHub

DaffFilterEqualOption

import { DaffFilterEqualOption } from '@daffodil/core'

The individual options applicable to a filter. Such an option may be something like "Red" or "Green", "Tall" or "Short", etc.

interface DaffFilterEqualOption {
  value: string
  label: string
  count: number
}

Properties

value
string

The id of the filter option.

label
string

A label to represent the filter option in the UI.

count
number

The number of entities that would be returned after application of this filter.