Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/react-day-picker.ts>DayPickerRangeProps

Deno-powered framework for building business web apps
Go to Latest
interface DayPickerRangeProps
implements DayPickerBase
import { type DayPickerRangeProps } from "https://deno.land/x/netzo@0.3.91/deps/react-day-picker.ts";

The props for the DayPicker component when using mode="range".

Properties

mode: "range"
optional
selected: DateRange | undefined

The selected range of days.

optional
onSelect: SelectRangeEventHandler

Event fired when a range (or a part of the range) is selected.

optional
min: number

The minimum amount of days that can be selected.

optional
max: number

The maximum amount of days that can be selected.