Skip to content

Filter date range

This component provides a date-filtering functionality, allowing users to select a date range while ensuring compatibility with defined minimum and maximum constraints. It handles state updates automatically.

WARNING

This component can only be used within a Filter.

Props

icon?: FluxIconName
The icon of the filter.

label: string
The label of the filter.

max?: DateTime
The maximum date that can be selected.

min?: DateTime
The minimum date that can be selected.

name: string
The name of the filter within the filter state.

range-mode: range | week | month
Which range mode should be used.

Used components