soda-material
Version:
A component library that may follow [material design 3](https://m3.material.io/components) (a.k.a. material you)
19 lines (18 loc) • 739 B
TypeScript
/// <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;
as?: keyof JSX.IntrinsicElements | undefined;
} & Omit<import("react").HTMLProps<HTMLElement>, "ref" | "as" | "disabled" | "className" | "children" | "onClick" | "trailingIcon" | "sd" | "leadingIcon"> & import("react").RefAttributes<HTMLElement>>;