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

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

const LongButtonLoading: React.FC<LongButtonProps> = ({ text, onClick }) => {
  return (
    <div className="long-button-loading" onClick={onClick}>
      <span className="long-button-loading-text">{text}</span>
    </div>
  );
};

export default LongButtonLoading;
