import { FC, ReactNode, ButtonHTMLAttributes } from "react"; type ButtonProps = ButtonHTMLAttributes & { variant?: "primary" | "secondary"; children: ReactNode; }; const Button: FC = ({ variant, children, ...rest }) => { if (variant === "secondary") { return ( ); } return ( ); }; export default Button;