import { ButtonHTMLAttributes, ReactNode } from "react"; import clsx from "clsx"; import styles from "./Button.module.scss"; export type ButtonVariant = "primary" | "secondary" | "outline" | "ghost"; export type ButtonSize = "sm" | "md" | "lg"; export interface ButtonProps extends ButtonHTMLAttributes { children: ReactNode; variant?: ButtonVariant; size?: ButtonSize; className?: string; } export default function Button({ children, variant = "primary", size = "md", className, ...rest }: ButtonProps) { return ( ); }