UNPKG

@assistant-ui/react

Version:

TypeScript/React library for AI Chat

15 lines 576 B
import type { FC, PropsWithChildren } from "react"; import type { RequireAtLeastOne } from "../../utils/RequireAtLeastOne"; type ComposerIfFilters = { editing: boolean | undefined; }; export type UseComposerIfProps = RequireAtLeastOne<ComposerIfFilters>; export declare namespace ComposerPrimitiveIf { type Props = PropsWithChildren<UseComposerIfProps>; } /** * @deprecated Use `<AssistantIf condition={({ composer }) => ...} />` instead. */ export declare const ComposerPrimitiveIf: FC<ComposerPrimitiveIf.Props>; export {}; //# sourceMappingURL=ComposerIf.d.ts.map