import './styles.css'

type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement>;


function MainButton({ className, children, ...props}: ButtonProps): JSX.Element {
  const combinedClassNames = ['main-btn', className].filter(Boolean).join(' ')
  return <button className={combinedClassNames} {...props}>{children}</button>
}

export default MainButton
