import React from 'react';
import classNames from 'classnames';

interface Props {
    align: string;
    styles: string;
    children?: React.ReactNode;
    onClick: () => void;
  }

export const ButtonImg: React.FC<Props> = ({onClick, img, styles, children}) => {
    return(
        <div className = {'button_img_main'}>
            <button className={classNames('button_img', img )} onClick={onClick}>{children}</button>
        </div>
    )
}