export default function PrimaryButton({
    type = 'submit',
    className = '',
    disabled,
    children,
    onClick,
    ...props
}) {
    return (
        <button
            type={type}
            className={`btn btn-primary ${disabled ? 'disabled' : ''} ${className}`}
            disabled={disabled}
            onClick={onClick}
            {...props}
        >
            {children}
        </button>
    );
}
