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)

20 lines (19 loc) 726 B
/// <reference types="react" /> import './icon-button.scss'; /** * @specs https://m3.material.io/components/icon-buttons/specs */ export declare const IconButton: import("react").ForwardRefExoticComponent<{ /** * @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; path?: string | undefined; } & Omit<import("react").HTMLProps<HTMLElement>, "as" | "ref" | "disabled" | "selected" | "children" | "path" | "sd"> & import("react").RefAttributes<HTMLElement>>;