import React, {FunctionComponent} from "react";

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

export const GHButton: FunctionComponent<Props> = ({className, onClick, children}) => {
    return (
        <span className={`gh-button ${className}`} onClick={onClick}>{children}</span>
    );
}