@engie-group/fluid-design-system-react
Version:
Fluid Design System React
19 lines (18 loc) • 639 B
TypeScript
import React, { ComponentPropsWithoutRef, ReactNode } from 'react';
export interface NJTooltipContentProps extends ComponentPropsWithoutRef<'div'> {
/**
* Whether the tooltip has an arrow
*/
hasArrow?: boolean;
/**
* Whether the color is inverse
* @example: On spotlight context
*/
isColorInverse?: boolean;
/**
* On which side of the tooltip, the arrow should be attached
*/
arrowPlacement: 'start' | 'center' | 'end';
children: ReactNode;
}
export declare const NJTooltipContent: React.ForwardRefExoticComponent<NJTooltipContentProps & React.RefAttributes<HTMLDivElement>>;