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

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

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
interface DayPickerRangeProps
implements DayPickerBase
import { type DayPickerRangeProps } from "https://deno.land/x/netzo@0.5.107/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.