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) • 558 B
TypeScript
/// <reference types="react" />
import './tooltip.scss';
/**
* [tips]: You may consider manually add `<br />`
* @specs https://m3.material.io/components/tooltips/specs
*/
export declare const RichTooltip: import("react").ForwardRefExoticComponent<{
children?: React.ReactNode;
subhead?: React.ReactNode;
action?: React.ReactNode;
onActionClick?: (() => void) | undefined;
} & Omit<import("react").HTMLProps<HTMLElement>, "as" | "ref" | "action" | "children" | "onActionClick" | "subhead"> & import("react").RefAttributes<HTMLDivElement>>;