import { FontWeightProps, ResponsiveFontWeightProps } from '../../utils/types/types'; /************************* * Type definition *************************/ export type Sizes = "xs" | "sm" | "md" | "lg"; type Color = "primary" | "secondary" | "success" | "info" | "warning" | "danger" | "white" | "blue"; type Variant = "solid" | "outline" | "fill" | "plain" | "link"; /************************* * Component Props *************************/ export interface ButtonProps extends React.ComponentProps<"button"> { color?: Color; variant?: Variant; size?: { xs?: Sizes; sm?: Sizes; md?: Sizes; lg?: Sizes; } | Sizes; loading?: boolean; block?: boolean; icon?: React.ReactNode; href?: string; target?: React.HTMLAttributeAnchorTarget; spinnerColor?: string; children?: React.ReactNode; weight?: ResponsiveFontWeightProps | FontWeightProps; } /************************* * Main Button Component *************************/ declare const Button: import('react').ForwardRefExoticComponent & import('react').RefAttributes>; export default Button;