返回 AiToEarn
1 /**
2 * BottomSection - 底部功能区容器
3 * 开源版仅保留浏览器插件入口。
4 */
5
6 'use client'
7
8 import type { BottomSectionProps } from '../../types'
9 import { cn } from '@/utils/className'
10 import { PluginEntry } from './PluginEntry'
11
12 export function BottomSection({ collapsed }: BottomSectionProps) {
13 return (
14 <div
15 className={cn(
16 'flex flex-col gap-1 border-t border-sidebar-border pt-3',
17 collapsed && 'items-center',
18 )}
19 >
20 <PluginEntry collapsed={collapsed} />
21 </div>
22 )
23 }
24
25 export { PluginEntry } from './PluginEntry'
26
26 lines Plain Text