mirror of
https://github.com/langgenius/dify.git
synced 2026-08-28 18:56:29 +08:00
20 lines
483 B
TypeScript
20 lines
483 B
TypeScript
'use client'
|
|
|
|
import { DetailSidebarFrame } from '@/app/components/detail-sidebar'
|
|
import AppDetailSection from './app-detail-section'
|
|
import AppDetailTop from './app-detail-top'
|
|
|
|
export function AppDetailSidebar() {
|
|
return (
|
|
<DetailSidebarFrame
|
|
renderTop={({ expand, onToggle }) => (
|
|
<AppDetailTop
|
|
expand={expand}
|
|
onToggle={onToggle}
|
|
/>
|
|
)}
|
|
renderSection={({ expand }) => <AppDetailSection expand={expand} />}
|
|
/>
|
|
)
|
|
}
|