import { Button, ButtonProps } from "@/ui";

export interface CancelButtonProps extends ButtonProps {
  label?: string;
}

export const CancelButton = ({
  label = "Cancelar",
  ...props
}: CancelButtonProps): JSX.Element => {
  return (
    <Button type="button" variant="secondary" {...props}>
      {label}
    </Button>
  );
};

CancelButton.displayName = "CancelButton";
