@engie-group/fluid-design-system-react
Version:
Fluid Design System React
15 lines (14 loc) • 472 B
TypeScript
import { ITooltipOptions } from '@engie-group/fluid-design-system';
import React, { ComponentPropsWithoutRef } from 'react';
import './NJTooltip.scss';
export declare const NJTooltip: React.ForwardRefExoticComponent<ITooltipProps & React.RefAttributes<HTMLDivElement>>;
export interface ITooltipProps extends ComponentPropsWithoutRef<'div'> {
/**
* Tooltip content
*/
text: string;
/**
* Tooltip options
*/
options?: ITooltipOptions;
}