forked from sagnik/Project_Velocity
12 lines
296 B
JavaScript
12 lines
296 B
JavaScript
import React from "react";
|
|
/**
|
|
* Render the root element of the calendar.
|
|
*
|
|
* @group Components
|
|
* @see https://daypicker.dev/guides/custom-components
|
|
*/
|
|
export function Root(props) {
|
|
const { rootRef, ...rest } = props;
|
|
return React.createElement("div", { ...rest, ref: rootRef });
|
|
}
|