@assistant-ui/react
Version:
Open-source TypeScript/React library for building production-grade AI chat experiences
7 lines (5 loc) • 345 B
text/typescript
import { Popover as PopoverPrimitive } from "radix-ui";
import { withRenderProp } from "../../utils/Primitive";
export const PopoverRenderTrigger = withRenderProp(PopoverPrimitive.Trigger);
export const PopoverRenderAnchor = withRenderProp(PopoverPrimitive.Anchor);
export const PopoverRenderContent = withRenderProp(PopoverPrimitive.Content);