import type { FC } from 'react'; import { ThreadListItemPrimitive, ThreadListPrimitive, useAuiState } from '@assistant-ui/react'; import { ArchiveIcon, PlusIcon } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { TooltipIconButton } from '@/components/assistant-ui/tooltip-icon-button'; import { Skeleton } from '@/components/ui/skeleton'; export const ThreadList: FC = () => { return ( ); }; const ThreadListNew: FC = () => { return ( ); }; const ThreadListItems: FC = () => { const isLoading = useAuiState(({ threads }) => threads.isLoading); if (isLoading) { return ; } return ; }; const ThreadListSkeleton: FC = () => { return ( <> {Array.from({ length: 5 }, (_, i) => (
))} ); }; const ThreadListItem: FC = () => { return ( ); }; const ThreadListItemTitle: FC = () => { return ( ); }; const ThreadListItemArchive: FC = () => { return ( ); };