UNPKG

421 BTypeScriptView Raw
1import React, { type Ref, type HTMLAttributes } from "react";
2/**
3 * Render the root element.
4 *
5 * @group Components
6 * @see https://daypicker.dev/guides/custom-components
7 */
8export declare function Root(props: {
9 /** Ref for root element used when `animate` is `true`. */
10 rootRef?: Ref<HTMLDivElement>;
11} & HTMLAttributes<HTMLDivElement>): React.JSX.Element;
12export type RootProps = Parameters<typeof Root>[0];