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

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

Properties

mode: "single"
optional
selected: Date | undefined

The selected day.

optional
onSelect: SelectSingleEventHandler

Event fired when a day is selected.

optional
required: boolean

Make the selection required.