Calendar
A date field component that allows users to enter and edit date.
Loading...
Usage
import { Calendar } from "@bigcomponents/core";const [date, setDate] = React.useState<Date | undefined>(new Date());
return (
<Calendar
mode="single"
selected={date}
onSelect={setDate}
className="rounded-md border"
/>
);The Calendar component is built on top of React DayPicker.
See the React DayPicker documentation for more information.
Examples
Calendar
Loading...