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

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

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