import * as React from "react";

export interface IProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
  onClick?: (e?: React.MouseEvent) => void;
}

export class Button extends React.Component<IProps, null> {
  public render(): JSX.Element {
    const {children, ...rest} = this.props;
    return (
      <button {...rest}>{children}</button>
    );
  }
}
