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

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

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

export default WaitButton;
