Skip to content

NodeGraphNodeSectionProps

Defined in: src/components/editor/NodeGraph/NodeGraphNodeSection.tsx:19

Properties

children?

optional children: ReactNode

Defined in: src/components/editor/NodeGraph/NodeGraphNodeSection.tsx:36

Section body — typically a <NodeGraph.PinList> of the extra pins.


className?

optional className: string

Defined in: src/components/editor/NodeGraph/NodeGraphNodeSection.tsx:33


collapsed?

optional collapsed: boolean

Defined in: src/components/editor/NodeGraph/NodeGraphNodeSection.tsx:28

Controlled collapsed state. Pair with onCollapsedChange.


collapsible?

optional collapsible: boolean

Defined in: src/components/editor/NodeGraph/NodeGraphNodeSection.tsx:26

Whether the header toggles the section. When false the section is a static labelled group (no chevron, always shown).

Default

true

defaultCollapsed?

optional defaultCollapsed: boolean

Defined in: src/components/editor/NodeGraph/NodeGraphNodeSection.tsx:30

Initial collapsed state when uncontrolled.

Default

false

onCollapsedChange()?

optional onCollapsedChange: (collapsed) => void

Defined in: src/components/editor/NodeGraph/NodeGraphNodeSection.tsx:32

Fires when the user toggles the section.

Parameters

collapsed

boolean

Returns

void


style?

optional style: CSSProperties

Defined in: src/components/editor/NodeGraph/NodeGraphNodeSection.tsx:34


title?

optional title: ReactNode

Defined in: src/components/editor/NodeGraph/NodeGraphNodeSection.tsx:21

Header label shown next to the collapse toggle.