FilterBarRangePanel
API reference and demos for FilterBarRangePanel.
Import
Section titled “Import”import { FilterBarRangePanel } from "@flanksource/clicky-ui/components";The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.
| Prop | Type | Default | Description |
|---|---|---|---|
className |
string |
— | — |
disabled |
boolean |
— | — |
emptyLabel |
string |
— | — |
from |
string |
— | Current start value. |
fromPlaceholder |
string |
— | — |
kind* |
enum |
— | — |
label* |
string |
— | — |
onApply* |
(…) => void |
— | Called when the user applies the range. |
presets |
(FilterBarRangePreset | TimeRangePresetGroup)[] |
— | Presets or preset groups shown in the range popup. |
timeEnabled |
boolean |
— | Enables time inputs when using date-time values. |
timeZone |
string |
— | Selected timezone. |
timeZones |
string[] |
— | Available timezone options. |
to |
string |
— | Current end value. |
toPlaceholder |
string |
— | — |