UNPKG

@baseplate-dev/ui-components

Version:

Shared UI component library

15 lines 772 B
import type { DayButton } from 'react-day-picker'; import * as React from 'react'; import { DayPicker } from 'react-day-picker'; import { Button } from '../button/button.js'; /** * A control that allows the user to select a date. * * https://ui.shadcn.com/docs/components/calendar */ declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & { buttonVariant?: React.ComponentProps<typeof Button>['variant']; }): React.ReactElement; declare function CalendarDayButton({ className, day, modifiers, ...props }: React.ComponentProps<typeof DayButton>): React.ReactElement; export { Calendar, CalendarDayButton }; //# sourceMappingURL=calendar.d.ts.map