import type { SxProps } from '@mui/material'; import React, { FC } from 'react'; export interface ButtonProps { children?: React.ReactNode; variant?: ButtonVariant; sx?: SxProps; wide?: boolean; disabled?: boolean; iconButton?: boolean; leftIcon?: JSX.Element; rightIcon?: JSX.Element; onClick?: (f: React.MouseEvent) => void; type?: 'button' | 'submit' | 'reset'; /** * You're expected to provide something like * * ``` * * ``` * * here, if the button is in the loading state. */ loading?: React.ReactNode; loadingLabel?: string; light?: boolean; href?: string; target?: string; } type ButtonVariant = 'contained' | 'outlined' | 'text'; declare const Button: FC; export default Button;