Function: Root()

May 8, 2026 ยท View on GitHub

Root(props): Element

Defined in: packages/react-day-picker/src/components/Root.tsx:9

Render the root element of the calendar.

Parameters

ParameterType
props{ rootRef?: Ref<HTMLDivElement>; } & HTMLAttributes<HTMLDivElement>

Returns

Element

See

https://daypicker.dev/guides/custom-components

Contents

  1. 1Parameters
  2. 2Returns
  3. 3See