UNPKG

soda-material

Version:

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

20 lines (19 loc) 736 B
/// <reference types="react" /> import './icon-button.scss'; /** * @specs https://m3.material.io/components/icon-buttons/specs */ export declare const IconButton: import("react").ForwardRefExoticComponent<{ as?: keyof JSX.IntrinsicElements | undefined; /** * @default standard */ sd?: "filled" | "outlined" | "tonal" | "standard" | undefined; children?: React.ReactNode; disabled?: boolean | undefined; /** * Standard button is unselected by default, * other button is selected by default. */ selected?: boolean | undefined; } & Omit<import("react").HTMLProps<HTMLElement>, "ref" | "as" | "disabled" | "selected" | "children" | "sd"> & import("react").RefAttributes<HTMLElement>>;