@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 • 762 B
TypeScript
export declare enum TooltipArrowDataAttributes {
/**
* Present when the tooltip is open.
*/
open = "data-open",
/**
* Present when the tooltip is closed.
*/
closed = "data-closed",
/**
* Indicates which side the popup is positioned relative to the trigger.
* @type {'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'}
*/
side = "data-side",
/**
* Indicates how the popup is aligned relative to specified side.
* @type {'start' | 'center' | 'end'}
*/
align = "data-align",
/**
* Present when the tooltip arrow is uncentered.
*/
uncentered = "data-uncentered",
/**
* Present if animations should be instant.
* @type {'delay' | 'dismiss' | 'focus'}
*/
instant = "data-instant",
}