Interface: PropsRange
Defined in: src/types/props.ts:709
The props when the range selection is optional.
See
https://daypicker.dev/docs/selection-modes#range-mode
Properties
disabled?
Defined in: src/types/props.ts:718
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?
optionalexcludeDisabled:boolean
Defined in: src/types/props.ts:725
When true, the range will reset when including a disabled day.
Since
V9.0.2
See
https://daypicker.dev/docs/selection-modes#exclude-disabled
max?
optionalmax:number
Defined in: src/types/props.ts:733
The maximum number of days to include in the range.
min?
optionalmin:number
Defined in: src/types/props.ts:731
The minimum number of days to include in the range.
mode
mode:
"range"
Defined in: src/types/props.ts:710
onSelect?
optionalonSelect:OnSelectHandler<undefined|DateRange>
Defined in: src/types/props.ts:729
Event handler when the selection changes.
required?
optionalrequired:false
Defined in: src/types/props.ts:711
selected?
optionalselected:DateRange
Defined in: src/types/props.ts:727
The selected range.