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.

12 lines 608 B
import { CommonTriggerDataAttributes } from "../../utils/popupStateMapping.js"; export let TooltipTriggerDataAttributes = function (TooltipTriggerDataAttributes) { /** * Present when the corresponding tooltip is open. */ TooltipTriggerDataAttributes[TooltipTriggerDataAttributes["popupOpen"] = CommonTriggerDataAttributes.popupOpen] = "popupOpen"; /** * Present when the trigger is disabled, either by the `disabled` prop or by a parent `<Tooltip.Root>` component. */ TooltipTriggerDataAttributes["triggerDisabled"] = "data-trigger-disabled"; return TooltipTriggerDataAttributes; }({});