Interface: PropsRangeRequired
Defined in: src/types/props.ts:663
The props when the range selection is required.
See
https://daypicker.dev/docs/selection-modes#range-mode
Properties
disabled?
Defined in: src/types/props.ts:672
Apply the disabled
modifier to the matching days. Disabled days cannot be
selected when in a selection mode is set.
See
https://daypicker.dev/docs/selection-modes#disabled
excludeDisabled?
optional
excludeDisabled:boolean
Defined in: src/types/props.ts:678
When true
, the range will reset when including a disabled day.
Since
V9.0.2
max?
optional
max:number
Defined in: src/types/props.ts:686
The maximum number of days to include in the range.
min?
optional
min:number
Defined in: src/types/props.ts:684
The minimum number of days to include in the range.
mode
mode:
"range"
Defined in: src/types/props.ts:664
onSelect?
optional
onSelect:OnSelectHandler
<DateRange
>
Defined in: src/types/props.ts:682
Event handler when a range is selected.
required
required:
true
Defined in: src/types/props.ts:665
selected
selected:
undefined
|DateRange
Defined in: src/types/props.ts:680
The selected range.