import { useFetchAppConf } from '@/hooks/logic-hooks'; import { RefreshCcw } from 'lucide-react'; import { PropsWithChildren } from 'react'; import { RAGFlowAvatar } from './ragflow-avatar'; import { Button } from './ui/button'; type EmbedContainerProps = { title: string; avatar?: string; handleReset?(): void; } & PropsWithChildren; export function EmbedContainer({ title, avatar, children, handleReset, }: EmbedContainerProps) { const appConf = useFetchAppConf(); return (
{appConf.appName}
{title}
{children}
); }