import { ButtonHTMLAttributes } from "react"; import { IconType } from "react-icons"; import "./index.css"; interface Props { /** * Size of the button * @default "medium" */ size: "small" | "medium" | "large" | "md:large"; /** * Color of the button * @default "primary" */ color: "primary" | "neutral" | "error" | "warning" | "success"; /** * Variant of the button * @default "raised" */ variant: "raised" | "outlined" | "flat"; /** * Disable the ripple * @default false */ disableRipple: boolean; /** * Icon position * @default "before" */ iconPosition: "before" | "after"; /** * Icon */ icon: IconType; /** * Weather or not to show the loading indicator * @default false */ loading: boolean; } export declare function Button({ children, icon: Icon, className, size, color, variant, loading, iconPosition, disableRipple, ...props }: ButtonHTMLAttributes & Partial): import("react/jsx-runtime").JSX.Element; export {};