1 | import React from "react";
|
2 | import type { CalendarDay } from "../classes/index.js";
|
3 | import type { Modifiers } from "../types/index.js";
|
4 | /**
|
5 | * Render the button for a day in the calendar.
|
6 | *
|
7 | * @group Components
|
8 | * @see https://daypicker.dev/guides/custom-components
|
9 | */
|
10 | export declare function DayButton(props: {
|
11 | /** The day to render. */
|
12 | day: CalendarDay;
|
13 | /** The modifiers for the day. */
|
14 | modifiers: Modifiers;
|
15 | } & JSX.IntrinsicElements["button"]): React.JSX.Element;
|
16 | export type DayButtonProps = Parameters<typeof DayButton>[0];
|