soda-material
Version:
A React(>=18) component library that may follow [Material Design 3](https://m3.material.io/components) (a.k.a. Material You)
13 lines (12 loc) • 576 B
TypeScript
/// <reference types="react" />
import './snakebar.scss';
/**
* @specs https://m3.material.io/components/snackbar/specs
*/
export declare const Snakebar: import("react").ForwardRefExoticComponent<{
children?: React.ReactNode;
action?: React.ReactNode;
onCloseClick?: (() => void) | undefined;
onActionClick?: (() => void) | undefined;
thirdLine?: boolean | undefined;
} & Omit<import("react").HTMLProps<HTMLElement>, "as" | "ref" | "action" | "children" | "onCloseClick" | "onActionClick" | "thirdLine"> & import("react").RefAttributes<HTMLDivElement>>;