UNPKG

@base-ui-components/react

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

29 lines (28 loc) 757 B
export declare enum TooltipPopupDataAttributes { /** * Present when the tooltip is open. */ open = "data-open", /** * Present when the tooltip is closed. */ closed = "data-closed", /** * Present when the tooltip is animating in. */ startingStyle = "data-starting-style", /** * Present when the tooltip is animating out. */ endingStyle = "data-ending-style", /** * Indicates which side the tooltip is positioned relative to the trigger. * @type {'none' | 'top' | 'right' | 'bottom' | 'left'} */ side = "data-side", /** * Indicates the instant type of the tooltip popup. * @type {'delay' | 'dismiss' | 'focus'} */ instant = "data-instant" }