@assistant-ui/react
Version:
React components for AI chat.
12 lines • 399 B
TypeScript
import type { Scope } from "@radix-ui/react-context";
export type ScopedProps<P> = P & {
__scopeAssistantModal?: Scope;
};
export declare const usePopoverScope: (scope: {
[scopeName: string]: import("react").Context<any>[];
} | undefined) => {
[__scopeProp: string]: {
[scopeName: string]: import("react").Context<any>[];
} | undefined;
};
//# sourceMappingURL=scope.d.ts.map