import { MoreButton } from '@/components/more-button'; import { RAGFlowAvatar } from '@/components/ragflow-avatar'; import { Button } from '@/components/ui/button'; import { Card, CardContent } from '@/components/ui/card'; import { useNavigatePage } from '@/hooks/logic-hooks/navigate-hooks'; import { IFlow } from '@/interfaces/database/flow'; import { formatPureDate } from '@/utils/date'; import { ChevronRight, Trash2 } from 'lucide-react'; interface IProps { data: IFlow; } export function SearchCard({ data }: IProps) { const { navigateToSearch } = useNavigatePage(); return (
{data.title}
An app that does things An app that does things
Search app

{formatPureDate(data.update_time)}

); }