import { ButtonProps } from "@/ui";
import { CustomButton } from "./CustomButton";

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

export const SubmitButton = ({ label = "Enviar", ...props }: SubmitButtonProps) => (
  <CustomButton type='submit' label={label} variant='default' {...props} />
);

SubmitButton.displayName = "SubmitButton";
