import styles from './Button.module.scss';

export const Button = ({ children, onClick, type = 'button', className = '' }) => {
  return (
    <button
      type={type}
      onClick={onClick}
      className={`${styles.button} btn btn-success ${className}`}
    >
      {children}
    </button>
  );
};