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) 716 B
/// <reference types="react" /> import './fab.scss'; /** * @specs https://m3.material.io/components/floating-action-button/specs */ export declare const Fab: import("react").ForwardRefExoticComponent<{ /** * @default surface */ sd?: "surface" | "secondary" | "tertiary" | undefined; /** * @default default */ size?: "default" | "small" | "large" | undefined; children?: React.ReactNode; extended?: boolean | undefined; disabled?: boolean | undefined; as?: keyof JSX.IntrinsicElements | undefined; } & Omit<import("react").HTMLProps<HTMLElement>, "ref" | "as" | "disabled" | "size" | "children" | "sd" | "extended"> & import("react").RefAttributes<HTMLElement>>;