Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
506 B
Text
19 lines
506 B
Text
import React, { type Ref, type HTMLAttributes } 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<HTMLDivElement>;
|
|
} & HTMLAttributes<HTMLDivElement>
|
|
) {
|
|
const { rootRef, ...rest } = props;
|
|
return <div {...rest} ref={rootRef} />;
|
|
}
|
|
|
|
export type RootProps = Parameters<typeof Root>[0];
|