@assistant-ui/react
Version:
Open-source TypeScript/React library for building production-grade AI chat experiences
9 lines (6 loc) • 348 B
text/typescript
import { DropdownMenu as DropdownMenuPrimitive } from "radix-ui";
import type { Context } from "radix-ui/internal";
export const useDropdownMenuScope: ReturnType<
typeof DropdownMenuPrimitive.createDropdownMenuScope
> = DropdownMenuPrimitive.createDropdownMenuScope();
export type ScopedProps<P> = P & { __scopeActionBarMore?: Context.Scope };