mirror of
https://github.com/zoriya/v10.git
synced 2026-08-08 23:27:58 +00:00
15 lines
514 B
JavaScript
15 lines
514 B
JavaScript
"use client";
|
|
import { useTooltipContext } from "./context.js";
|
|
import { createContextPart } from "../create-context-part.js";
|
|
//#region src/ui/tooltip/tooltip-arrow.tsx
|
|
/** Decorative arrow pointing from the tooltip toward the trigger. Hidden from assistive technology. */
|
|
const TooltipArrow = createContextPart({
|
|
displayName: "TooltipArrow",
|
|
tag: "div",
|
|
useContext: useTooltipContext,
|
|
staticProps: { "aria-hidden": "true" }
|
|
});
|
|
//#endregion
|
|
export { TooltipArrow };
|
|
|
|
//# sourceMappingURL=tooltip-arrow.js.map
|