Skip to main content

Interface: PropsRangeRequired

The props when the range selection is required.

See​

https://daypicker.dev/docs/selection-modes#range-mode

Properties​

disabled?​

optional disabled: Matcher | Matcher[]

Defined in​

src/types/props.ts:567


excludeDisabled?​

optional excludeDisabled: boolean

When true, the range will reset when including a disabled day.

Since​

V9.0.2

Defined in​

src/types/props.ts:573


max?​

optional max: number

The maximum number of days to include in the range.

Defined in​

src/types/props.ts:581


min?​

optional min: number

The minimum number of days to include in the range.

Defined in​

src/types/props.ts:579


mode​

mode: "range"

Defined in​

src/types/props.ts:565


onSelect?​

optional onSelect: OnSelectHandler<DateRange>

Event handler when a range is selected.

Defined in​

src/types/props.ts:577


required​

required: true

Defined in​

src/types/props.ts:566


selected​

selected: undefined | DateRange

The selected range.

Defined in​

src/types/props.ts:575