"use client"; import { ThreadPrimitive } from "@assistant-ui/react"; import { ArrowDownIcon } from "lucide-react"; import type { FC, ReactNode } from "react"; import { Button } from "@/components/ui/button"; const ChatScrollToBottom: FC = () => ( ); export interface ChatViewportProps { children: ReactNode; footer?: ReactNode; } export const ChatViewport: FC = ({ children, footer }) => (
{children} {footer ? (
{footer}
) : null} );