
import React from 'react';

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

export const Button: React.FC<Props> = ({children, onClick, disable, color}) => {
    return(
        <button className={"button-17 "+ color} role="button" onClick={onClick} disabled={disable}>{children}</button>
    )
}