import React, { ButtonHTMLAttributes } from 'react'; import { ButtonStyleProps } from '../../styles/button'; export interface ButtonProps extends ButtonStyleProps, ButtonHTMLAttributes { /** * The text that is going to be displayed, alternative way */ text?: string; /** * The text that is going to be displayed */ children?: React.ReactNode; /** * onClick handler */ onClick?(event: React.MouseEvent): void; } declare const Button: ({ text, children, disabled, loading, variant, sizeMediaMediumUp, ...props }: ButtonProps & React.ButtonHTMLAttributes) => JSX.Element; export default Button;