GitHub

DaffFilterRangeOption

A particular option of a range pair. Holds a value and a label.

import { DaffFilterRangeOption } from '@daffodil/core'
interface DaffFilterRangeOption<T> {
  value: T
  label: string
}

Properties

Name Type Description
value T

The value for the range option; e.g. "10" for a price range option.

label string

A label to represent the range option in the UI.