import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';

const Button = ({onClick, align, styles, children}) => {
    return(
        <div className= {classNames('button_main', align )}>
            <button className = {classNames('button', styles )} onClick = {onClick}> {children} </button>
        </div>
    )
}

Button.propTypes = {
  onClick: PropTypes.func,
};

export default Button;
