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.
15 lines • 748 B
TypeScript
import type { AnchorHTMLAttributes, ButtonHTMLAttributes } from "react";
import { type IconName } from "../icon/icon";
export type Variant = "filled" | "outlined" | "text" | "toned" | "lightOnContent" | "darkOnContent";
type Size = "xSmall" | "small" | "medium";
interface CommonProps {
as?: "button" | "a" | React.ElementType;
variant?: Variant;
size?: Size;
icon: IconName;
disabled?: boolean;
}
export type ButtonProps = CommonProps & ButtonHTMLAttributes<HTMLButtonElement> & AnchorHTMLAttributes<HTMLAnchorElement>;
export declare function ButtonIcon({ as: Tag, variant, icon, disabled, size, className, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=button-icon.d.ts.map