react-day-picker
Version:
Customizable Date Picker for React
13 lines (12 loc) • 421 B
TypeScript
import React, { type Ref, type HTMLAttributes } from "react";
/**
* Render the root element.
*
* @group Components
* @see https://daypicker.dev/guides/custom-components
*/
export declare function Root(props: {
/** Ref for root element used when `animate` is `true`. */
rootRef?: Ref<HTMLDivElement>;
} & HTMLAttributes<HTMLDivElement>): React.JSX.Element;
export type RootProps = Parameters<typeof Root>[0];