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.

23 lines 514 B
export declare enum DrawerSwipeAreaDataAttributes { /** * Present when the drawer is open. */ open = "data-open", /** * Present when the drawer is closed. */ closed = "data-closed", /** * Present when the swipe area is disabled. */ disabled = "data-disabled", /** * Indicates the swipe direction. * @type {'up' | 'down' | 'left' | 'right'} */ swipeDirection = "data-swipe-direction", /** * Present when the drawer is being swiped. */ swiping = "data-swiping", }