UNPKG

sate-lib

Version:

A lightweight and modular React component library designed for modern web interfaces. **SATE Lib** powers the [sate.menu](https://sate.menu) platform with reusable, scalable, and themeable UI components.

16 lines 660 B
import type { ButtonHTMLAttributes } from "react"; import { IconName } from "../icon/icon"; type Variant = "filled" | "outlined" | "text" | "toned"; type Size = "xSmall" | "small" | "medium" | "large"; interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> { variant?: Variant; size?: Size; icon?: IconName; iconPosition?: "left" | "right"; label?: string; loading?: boolean; disabled?: boolean; } export declare function Button({ variant, size, icon, iconPosition, label, loading, disabled, className, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=button.d.ts.map