@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.
12 lines • 549 B
JavaScript
import { CommonTriggerDataAttributes } from "../../utils/popupStateMapping.js";
export let AlertDialogTriggerDataAttributes = function (AlertDialogTriggerDataAttributes) {
/**
* Present when the trigger is disabled.
*/
AlertDialogTriggerDataAttributes["disabled"] = "data-disabled";
/**
* Present when the corresponding alert dialog is open.
*/
AlertDialogTriggerDataAttributes[AlertDialogTriggerDataAttributes["popupOpen"] = CommonTriggerDataAttributes.popupOpen] = "popupOpen";
return AlertDialogTriggerDataAttributes;
}({});