UNPKG

@project-jade-garden/kobalte

Version:
25 lines (24 loc) 996 B
import { SVATraits } from 'jade-garden'; /** * **Tooltip** * @description A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it. * @see [source](https://kobalte.dev/docs/core/components/tooltip#anatomy) */ export declare const slots: readonly ["root", "arrow", "content", "trigger"]; /** * **Tooltip** * @description A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it. * @see [source](https://kobalte.dev/docs/core/components/tooltip#anatomy) */ export type Slots = (typeof slots)[number]; /** * **Tooltip** * @description A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it. * @see [source](https://kobalte.dev/docs/core/components/tooltip#api-reference) */ export type Traits = SVATraits<Slots, { root: {}; arrow: {}; content: {}; trigger: {}; }>;