UNPKG

@base-ui/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.

27 lines 713 B
export declare enum DrawerPopupDataAttributes { /** * Present when the drawer is at the expanded (full-height) snap point. */ expanded = "data-expanded", /** * Present when a nested drawer is open. */ nestedDrawerOpen = "data-nested-drawer-open", /** * Present when a nested drawer is being swiped. */ nestedDrawerSwiping = "data-nested-drawer-swiping", /** * Present when the drawer is dismissed by swiping. */ swipeDismiss = "data-swipe-dismiss", /** * Indicates the swipe direction. * @type {'up' | 'down' | 'left' | 'right'} */ swipeDirection = "data-swipe-direction", /** * Present when the drawer is being swiped. */ swiping = "data-swiping", }