UNPKG

react-day-picker

Version:

Customizable Date Picker for React

14 lines (13 loc) 495 B
import React, { type HTMLAttributes, type Ref } from "react"; /** * Render the root element of the calendar. * * @group Components * @see https://daypicker.dev/guides/custom-components */ export declare function Root(props: { /** Ref for the root element, used when `animate` is `true`. */ rootRef?: Ref<HTMLDivElement>; } & HTMLAttributes<HTMLDivElement>): React.JSX.Element; /** Props accepted by the {@link Root} component. */ export type RootProps = Parameters<typeof Root>[0];