init project

This commit is contained in:
JiaJun
2026-03-18 11:42:00 +08:00
commit 2db8d180ad
29 changed files with 3457 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
import type { ButtonHTMLAttributes, PropsWithChildren } from "react";
import { twMerge } from "tailwind-merge";
type ButtonProps = PropsWithChildren<ButtonHTMLAttributes<HTMLButtonElement>>;
export function Button({
children,
className = "",
type = "button",
...props
}: ButtonProps) {
return (
<button
type={type}
className={twMerge("button-play", className)}
{...props}
>
{children}
</button>
);
}
export default Button;