Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

ui.ts

41 lines1.0 KB

1// Barrel entry for the `@tanstack/ai-remix/ui` subpath.
2export {
3 createChatUI,
4 type ChatUIComponents,
5 type ChatUIFactoryConfig,
6 type ChatUIHost,
7 type ChatUIQueueItem,
8 type InputProps,
9 type InterruptProps,
10 type LayoutProps,
11 type MessageProps,
12 type PartProps,
13 type QueueProps,
14 type ToolProps,
15} from './chat-ui/create-ui.tsx'
16export { createChatHook } from './chat-ui/create-chat-hook.ts'
17export { Chat, useChatContext, type ChatProps } from './chat-ui/chat.tsx'
18export {
19 ChatMessages,
20 type ChatMessagesProps,
21} from './chat-ui/chat-messages.tsx'
22export {
23 ChatMessage,
24 type ChatMessageProps,
25 type ToolCallRenderProps,
26} from './chat-ui/chat-message.tsx'
27export {
28 ChatInput,
29 type ChatInputProps,
30 type ChatInputRenderProps,
31} from './chat-ui/chat-input.tsx'
32export {
33 ToolApproval,
34 type ToolApprovalProps,
35 type ToolApprovalRenderProps,
36} from './chat-ui/tool-approval.tsx'
37export { TextPart, type TextPartProps } from './chat-ui/text-part.tsx'
38export {
39 ThinkingPart,
40 type ThinkingPartProps,
41} from './chat-ui/thinking-part.tsx'