Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
type alias DaySelectionMode
import { type DaySelectionMode } from "https://deno.land/x/netzo@0.3.66/deps/react-day-picker.ts";

Selection modes supported by DayPicker.

  • single: use DayPicker to select single days.
  • multiple: allow selecting multiple days.
  • range: use DayPicker to select a range of days
  • default: disable the built-in selection behavior. Customize what is selected by using DayPickerBase.onDayClick.
definition:
| "single"
| "multiple"
| "range"
| "default"