text: import './ChangePageButton.css';
  import PropTypes from 'prop-types';
  export const ChangePageButton = ({ isNext, hidden, onClick }) => {
      return (
          <button
              className="Change-page-button"
              style={{ opacity: hidden ? '0' : '1' }}
              disabled={hidden}
              onClick={onClick}>
              {isNext ? 'سوال\nبعد' : 'سوال\nقبل'}
          </button>
      );
  };
  
  ChangePageButton.propTypes = {
      isNext: PropTypes.bool.isRequired,
      hidden: PropTypes.bool.isRequired,
      onClick: PropTypes.func.isRequired
  };
  