import { ReactNode, ButtonHTMLAttributes } from 'react'; import { TSizeAll } from '../../types'; export interface IButtonProps extends ButtonHTMLAttributes { /** * content of the element */ children: ReactNode | JSX.Element; /** * this is mostly like disabled mode except it gives the user a good visual indicator that something is loading */ isLoading?: boolean; /** * set the size of the element */ size?: TSizeAll; } export interface IVariantButtonProps extends IButtonProps { /** * set the variant of the element */ variant?: 'default' | 'neutral' | 'success' | 'destructive' | 'purple'; } //# sourceMappingURL=types.d.ts.map