import clsx from 'clsx';
import type { ButtonHTMLAttributes } from 'react';
type ButtonVariant = 'primary' | 'secondary' | 'danger' | 'ghost';
const variantClass: Record = {
primary: 'btn-primary',
secondary: 'btn-secondary',
danger: 'btn-danger',
ghost: 'btn-ghost',
};
export function Button({
variant = 'primary',
className,
children,
...props
}: ButtonHTMLAttributes & { variant?: ButtonVariant }) {
return (
);
}