@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.
20 lines (19 loc) • 501 B
TypeScript
export declare enum MenuPositionerDataAttributes {
/**
* Present when the menu popup is open.
*/
open = "data-open",
/**
* Present when the menu popup is closed.
*/
closed = "data-closed",
/**
* Present when the anchor is hidden.
*/
anchorHidden = "data-anchor-hidden",
/**
* Indicates which side the menu is positioned relative to the trigger.
* @type {'none' | 'top' | 'right' | 'bottom' | 'left'}
*/
side = "data-side"
}