@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.
35 lines • 819 B
TypeScript
export declare enum ToastRootDataAttributes {
/**
* Present when the toast is expanded in the viewport.
* @type {boolean}
*/
expanded = "data-expanded",
/**
* Present when the toast was removed due to exceeding the limit.
* @type {boolean}
*/
limited = "data-limited",
/**
* The type of the toast.
* @type {string}
*/
type = "data-type",
/**
* Present when the toast is being swiped.
* @type {boolean}
*/
swiping = "data-swiping",
/**
* The direction the toast was swiped.
* @type {'up' | 'down' | 'left' | 'right'}
*/
swipeDirection = "data-swipe-direction",
/**
* Present when the toast is animating in.
*/
startingStyle = "data-starting-style",
/**
* Present when the toast is animating out.
*/
endingStyle = "data-ending-style",
}