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