Skip to content

🤯 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.

722 B
Raw Blame
import { Flexbox } from '@lobehub/ui';

import TopicListContent from '@/features/AgentSidebar/Topic/TopicListContent';
import TopicSearchBar from '@/features/AgentSidebar/Topic/TopicSearchBar';

import TopicModal from './features/TopicModal';

const Topic = () => {
  return (
    <TopicModal>
      <Flexbox gap={8} height={'100%'} padding={'8px 8px 0'} style={{ overflow: 'hidden' }}>
        <TopicSearchBar />
        <Flexbox
          height={'100%'}
          style={{ marginInline: -8, overflowX: 'hidden', overflowY: 'auto', position: 'relative' }}
          width={'calc(100% + 16px)'}
        >
          <TopicListContent />
        </Flexbox>
      </Flexbox>
    </TopicModal>
  );
};

export default Topic;