@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.
18 lines • 816 B
JavaScript
import { CommonPopupDataAttributes } from "../../utils/popupStateMapping.js";
export let ToastArrowDataAttributes = function (ToastArrowDataAttributes) {
/**
* Indicates which side the toast is positioned relative to the anchor.
* @type {'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'}
*/
ToastArrowDataAttributes[ToastArrowDataAttributes["side"] = CommonPopupDataAttributes.side] = "side";
/**
* Indicates how the toast is aligned relative to specified side.
* @type {'start' | 'center' | 'end'}
*/
ToastArrowDataAttributes[ToastArrowDataAttributes["align"] = CommonPopupDataAttributes.align] = "align";
/**
* Present when the toast arrow is uncentered.
*/
ToastArrowDataAttributes["uncentered"] = "data-uncentered";
return ToastArrowDataAttributes;
}({});