UNPKG

soda-material

Version:

A React(>=18) component library that may follow [Material Design 3](https://m3.material.io/components) (a.k.a. Material You)

18 lines (17 loc) 689 B
/// <reference types="react" /> import './chip.scss'; /** * @specs https://m3.material.io/components/chips/specs */ export declare const Chip: import("react").ForwardRefExoticComponent<{ /** * @default outlined */ sd?: "outlined" | "tonal" | undefined; children: React.ReactNode; className?: string | undefined; leadingIcon?: React.ReactNode; trailingIcon?: React.ReactNode; disabled?: boolean | undefined; onClick?: (() => void) | undefined; } & Omit<import("react").HTMLProps<HTMLElement>, "as" | "ref" | "disabled" | "className" | "children" | "onClick" | "trailingIcon" | "sd" | "leadingIcon"> & import("react").RefAttributes<HTMLElement>>;