UNPKG

@assistant-ui/react

Version:

TypeScript/React library for AI Chat

17 lines 618 B
import type { FC, PropsWithChildren } from "react"; import type { RequireAtLeastOne } from "../../utils/RequireAtLeastOne"; type ThreadIfFilters = { empty: boolean | undefined; running: boolean | undefined; disabled: boolean | undefined; }; type UseThreadIfProps = RequireAtLeastOne<ThreadIfFilters>; export declare namespace ThreadPrimitiveIf { type Props = PropsWithChildren<UseThreadIfProps>; } /** * @deprecated Use `<AssistantIf condition={({ thread }) => ...} />` instead. */ export declare const ThreadPrimitiveIf: FC<ThreadPrimitiveIf.Props>; export {}; //# sourceMappingURL=ThreadIf.d.ts.map