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.

11 lines 472 B
import type { HTMLAttributes } from "react"; import { IconName } from "../icon/icon"; export type BadgeVariant = "default" | "new"; export interface BadgeProps extends HTMLAttributes<HTMLSpanElement> { label?: string; variant?: BadgeVariant; icon?: IconName; iconSize?: number; } export declare function Badge({ label, variant, icon, iconSize, className, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=badge.d.ts.map