Skip to main content

Interface: PropsRange

Defined in: src/types/props.ts:657

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


excludeDisabled?

optional excludeDisabled: boolean

Defined in: src/types/props.ts:666

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

The maximum number of days to include in the range.


min?

optional min: number

Defined in: src/types/props.ts:672

The minimum number of days to include in the range.


mode

mode: "range"

Defined in: src/types/props.ts:658


onSelect?

optional onSelect: OnSelectHandler<undefined | DateRange>

Defined in: src/types/props.ts:670

Event handler when the selection changes.


required?

optional required: false

Defined in: src/types/props.ts:659


selected?

optional selected: DateRange

Defined in: src/types/props.ts:668

The selected range.