@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
18 lines (17 loc) • 456 B
TypeScript
import React from 'react';
import type { TooltipProps } from './types';
export type TooltipContextProps = {
/**
* The props of the Tooltip component.
*/
props: TooltipProps;
/**
* Whether the tooltip is controlled from outside.
*/
isControlled: boolean;
/**
* The internal ID used for aria-describedby.
*/
internalId: string;
};
export declare const TooltipContext: React.Context<TooltipContextProps>;