UNPKG

soda-material

Version:

A component library that may follow [material design 3](https://m3.material.io/components) (a.k.a. material you)

15 lines (14 loc) 605 B
/// <reference types="react" /> import './badge.scss'; /** * @specs https://m3.material.io/components/badges/specs */ export declare const Badge: import("react").ForwardRefExoticComponent<{ children?: React.ReactNode; label?: React.ReactNode; /** * Do not need to specify this property in most cases, as it will automatically * choose small for empty label and large for none-empty label */ sd?: "small" | "large" | "none" | undefined; } & Omit<import("react").HTMLProps<HTMLElement>, "ref" | "label" | "children" | "sd"> & import("react").RefAttributes<HTMLDivElement>>;