import React from 'react'; import { BaseControl } from '../../types/control'; import { ButtonBaseProps } from '../ButtonBase/types'; export interface ButtonVariants { solid: 'solid'; gradiant: 'gradiant'; outline: 'outline'; ghost: 'ghost'; text: 'text'; link: 'link'; } export declare type ButtonVariantProp = keyof ButtonVariants; export interface ButtonProps extends ButtonBaseProps, BaseControl { /** * Element placed before the children. */ startIcon?: React.ReactNode; /** * Element placed after the children. */ endIcon?: React.ReactNode; /** * The variant to use. * @default 'filled' */ variant?: ButtonVariantProp; loading?: boolean; loadingText?: string; }