import Spinner from "../Spinner";
interface Props {
primary?: boolean;
loading?: boolean;
disabled?: boolean;
href?: string;
label: string;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
onClick?: () => any;
}
const Button = (props: Props) => (
<>
{props.href ? (
{props.label}
) : (
)}
>
);
export default Button;