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>
17 lines
No EOL
527 B
Text
17 lines
No EOL
527 B
Text
import React from "react";
|
|
/**
|
|
* Render a button for a specific day in the calendar.
|
|
*
|
|
* @group Components
|
|
* @see https://daypicker.dev/guides/custom-components
|
|
*/
|
|
export function DayButton(props) {
|
|
const { day, modifiers, ...buttonProps } = props;
|
|
const ref = React.useRef(null);
|
|
React.useEffect(() => {
|
|
if (modifiers.focused)
|
|
ref.current?.focus();
|
|
}, [modifiers.focused]);
|
|
return React.createElement("button", { ref: ref, ...buttonProps });
|
|
}
|
|
//# sourceMappingURL=DayButton.js.map |