auto-save 2026-05-13 23:57 (~2)
This commit is contained in:
@@ -12,7 +12,7 @@ interface Props {
|
||||
icon?: ReactNode
|
||||
title: string
|
||||
subtitle?: string
|
||||
width?: number
|
||||
width?: number | string // 默认 '100%':让外层 ReactFlow node wrapper (node.style.width) 决定,配合 NodeResizeControl 用户可拖
|
||||
selected?: boolean
|
||||
hasTarget?: boolean
|
||||
hasSource?: boolean
|
||||
@@ -39,7 +39,7 @@ export function NodeShell({
|
||||
icon,
|
||||
title,
|
||||
subtitle,
|
||||
width = 280,
|
||||
width = "100%",
|
||||
selected,
|
||||
hasTarget = true,
|
||||
hasSource = true,
|
||||
|
||||
Reference in New Issue
Block a user