import React from "react";
import "./ConfirmButton.css";

interface ConfirmButtonProps {
  text: string;
  onClick?: () => void;
}

const ConfirmButton: React.FC<ConfirmButtonProps> = ({ text, onClick }) => {
  return (
    <div className="confirm-button" onClick={onClick}>
      <span className="confirm-button-text">{text}</span>
    </div>
  );
};

export default ConfirmButton;
