feat: Add subItems mapping to Panel component for enhanced item details

This commit is contained in:
twwu 2025-07-04 18:24:52 +08:00
parent 0d9991ec88
commit 933ad0649c
1 changed files with 5 additions and 0 deletions

View File

@ -213,6 +213,11 @@ const Panel: FC<NodePanelProps<DataSourceNodeType>> = ({ id, data }) => {
name={item.name}
type={item.type}
description={item.description}
subItems={item.subItems.map(item => ({
name: item.name,
type: item.type,
description: item.description,
}))}
/>
))
}