import { ActionBarPrimitive, BranchPickerPrimitive, ComposerPrimitive, MessagePrimitive, ThreadPrimitive, } from "@assistant-ui/react"; import type { FC } from "react"; import { ArrowDownIcon, CheckIcon, ChevronLeftIcon, ChevronRightIcon, CopyIcon, PencilIcon, RefreshCwIcon, SendHorizontalIcon, } from "lucide-react"; import { cn } from "@/lib/utils"; import { Button } from "@/components/ui/button"; import { MarkdownText } from "@/components/assistant-ui/markdown-text"; import { TooltipIconButton } from "@/components/assistant-ui/tooltip-icon-button"; export const Thread: FC = () => { return (
); }; const ThreadScrollToBottom: FC = () => { return ( ); }; const ThreadWelcome: FC = () => { return (

How can I help you today?

{/* */}
); }; const ThreadWelcomeSuggestions: FC = () => { return (
What is the weather in Tokyo? What is assistant-ui?
); }; const Composer: FC = () => { return ( ); }; const ComposerAction: FC = () => { return ( <> ); }; const UserMessage: FC = () => { return (
); }; const UserActionBar: FC = () => { return ( ); }; const EditComposer: FC = () => { return (
); }; const AssistantMessage: FC = () => { return (
); }; const AssistantActionBar: FC = () => { return ( ); }; const BranchPicker: FC = ({ className, ...rest }) => { return ( /{" "} ); }; const CircleStopIcon = () => { return ( ); };