import { BaseComponentSizes, ButtonVariants, TComponentIcon, ButtonHierarchy } from "@helpers/types"; import { PropsWithChildren } from "react"; type ButtonTypes = "button" | "submit" | "reset"; type ButtonSizes = "xs" | BaseComponentSizes; export interface ButtonProps extends React.ButtonHTMLAttributes, PropsWithChildren { variant?: ButtonVariants; leftIcon?: TComponentIcon; rightIcon?: TComponentIcon; disabled?: boolean; size?: ButtonSizes; ariaLabel?: string; type?: ButtonTypes; isFluid?: boolean; ref?: React.ForwardedRef; hierarchy?: ButtonHierarchy; isLoading?: boolean; } export {};