🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
import { Divider, Icon, Tag } from '@lobehub/ui';
import { Timer } from 'lucide-react';
import { memo } from 'react';
import { useTranslation } from 'react-i18next';
interface HistoryDividerProps {
enable?: boolean;
}
const HistoryDivider = memo<HistoryDividerProps>(({ enable }) => {
const { t } = useTranslation('common');
if (!enable) return null;
return (
<div style={{ padding: '0 20px' }}>
<Divider style={{ margin: 0, padding: '20px 0' }}>
<Tag icon={<Icon icon={Timer} />}>{t('historyRange')}</Tag>
</Divider>
</div>
);
});
export default HistoryDivider;