UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

31 lines (30 loc) 975 B
/** * Web Tooltip Component * */ import type { TooltipAllProps } from './types'; export declare function injectTooltipSemantic(params: any): any; export declare const defaultProps: { readonly id: any; readonly size: "basis"; readonly active: any; readonly position: "top"; readonly arrow: "center"; readonly align: any; readonly fixedPosition: false; readonly skipPortal: any; readonly noAnimation: false; readonly showDelay: 300; readonly hideDelay: 500; readonly targetSelector: any; readonly targetElement: any; readonly className: any; readonly children: any; readonly tooltip: any; readonly triggerOffset: 16; }; export declare function getTargetElement(target: HTMLElement | string | null): Element; export declare function getPropsFromTooltipProp(localProps: { tooltip?: TooltipAllProps['tooltip']; }): Partial<TooltipAllProps> | null; export declare const isTouch: (type: string) => boolean;