import type { ButtonHTMLAttributes, ReactNode } from "react";
interface ButtonProps extends ButtonHTMLAttributes {
variant?: "primary" | "secondary" | "ghost" | "danger" | "outline";
size?: "xs" | "sm" | "md" | "lg";
icon?: ReactNode;
children: ReactNode;
loading?: boolean;
}
export function Button({
variant = "secondary",
size = "sm",
icon,
children,
loading = false,
className = "",
disabled,
...props
}: ButtonProps) {
return (
);
}