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 function Root( props: { /** Ref for the root element, used when `animate` is `true`. */ rootRef?: Ref; } & HTMLAttributes, ) { const { rootRef, ...rest } = props; return
; } export type RootProps = Parameters[0];