@conduction/components
Version:
React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)
15 lines (14 loc) • 420 B
TypeScript
import * as React from "react";
interface ToolTipProps {
id: string;
layoutClassName?: string;
}
/**
* Implement this ToolTip only once, in a high-level wrapper.
* Use the ToolTip anywhere, in any element, by setting the following data props:
*
* data-tooltip-id="this-is-the-id-set-in-ToolTipProps"
* data-tooltip-content="Hello world!"
*/
export declare const ToolTip: React.FC<ToolTipProps>;
export {};