deploy: v0.12 存档迁移+考古日志滚动条

This commit is contained in:
2026-06-24 03:04:38 +00:00
parent 4831505ef9
commit b4c6111516
58986 changed files with 7569452 additions and 31667 deletions
+16
View File
@@ -0,0 +1,16 @@
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 });
}