import { ButtonHTMLAttributes } from 'react'; import { GenericTooltipProps } from '../Tooltip'; export type ButtonVariantType = 'primary' | 'secondary' | 'outline' | 'text' | 'warning' | 'ajax'; export type ButtonSizeType = 'small' | 'medium' | 'large'; export interface GenericButtonProps extends ButtonHTMLAttributes { className?: string; loading?: boolean; tooltip?: GenericTooltipProps['tooltip']; tooltipProps?: Partial>; } export interface ButtonProps extends GenericButtonProps { variant?: ButtonVariantType; size?: ButtonSizeType; } export interface IconButtonProps extends Omit { isActive?: boolean; }