@ithinkdt/naive
Version:
iThinkDT Naive UI
12 lines (8 loc) • 354 B
TypeScript
import { Directive, VNode } from 'vue'
export type TooltipDirectiveOptions =
| void
| undefined
| string
| ({ tip: string | VNode } & Omit<import('ithinkdt-ui').TooltipProps, 'show' | 'trigger' | 'x' | 'y'>)
export type TooltipDirective = Directive<HTMLElement, TooltipDirectiveOptions>
export declare const vTooltip: TooltipDirective