Skip to main content

Interface: PropsRange

The props when the range selection is optional.

See​

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

Properties​

disabled?​

optional disabled: Matcher | Matcher[]

Defined in​

src/types/props.ts:591


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:597


max?​

optional max: number

The maximum number of days to include in the range.

Defined in​

src/types/props.ts:605


min?​

optional min: number

The minimum number of days to include in the range.

Defined in​

src/types/props.ts:603


mode​

mode: "range"

Defined in​

src/types/props.ts:589


onSelect?​

optional onSelect: OnSelectHandler<undefined | DateRange>

Event handler when the selection changes.

Defined in​

src/types/props.ts:601


required?​

optional required: false

Defined in​

src/types/props.ts:590


selected?​

optional selected: DateRange

The selected range.

Defined in​

src/types/props.ts:599