@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
30 lines (29 loc) • 879 B
TypeScript
/**
* Web Tooltip Component
*
*/
import React from 'react';
export declare function injectTooltipSemantic(params: any): any;
export declare const defaultProps: {
id: any;
size: string;
active: any;
position: string;
arrow: string;
align: any;
fixedPosition: boolean;
skipPortal: any;
noAnimation: boolean;
showDelay: number;
hideDelay: number;
targetSelector: any;
targetElement: any;
className: any;
children: any;
tooltip: any;
};
export declare function getTargetElement(target: HTMLElement): HTMLElement;
export declare function useHandleAria(targetElement: HTMLElement, internalId: string): void;
export declare function getPropsFromTooltipProp(localProps: any): any;
export declare function getRefElement(target: React.RefObject<HTMLElement>): any;
export declare const isTouch: (type: string) => boolean;