GitHub

DaffFilterRangeOption

import { DaffFilterRangeOption } from '@daffodil/core'

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

interface DaffFilterRangeOption<T> {
  value: T
  label: string
}

Properties

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.