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