NodeGraphNodeSectionProps
Defined in: src/components/editor/NodeGraph/NodeGraphNodeSection.tsx:19
Properties
children?
optionalchildren:ReactNode
Defined in: src/components/editor/NodeGraph/NodeGraphNodeSection.tsx:36
Section body — typically a <NodeGraph.PinList> of the extra pins.
className?
optionalclassName:string
Defined in: src/components/editor/NodeGraph/NodeGraphNodeSection.tsx:33
collapsed?
optionalcollapsed:boolean
Defined in: src/components/editor/NodeGraph/NodeGraphNodeSection.tsx:28
Controlled collapsed state. Pair with onCollapsedChange.
collapsible?
optionalcollapsible: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
truedefaultCollapsed?
optionaldefaultCollapsed:boolean
Defined in: src/components/editor/NodeGraph/NodeGraphNodeSection.tsx:30
Initial collapsed state when uncontrolled.
Default
falseonCollapsedChange()?
optionalonCollapsedChange: (collapsed) =>void
Defined in: src/components/editor/NodeGraph/NodeGraphNodeSection.tsx:32
Fires when the user toggles the section.
Parameters
collapsed
boolean
Returns
void
style?
optionalstyle:CSSProperties
Defined in: src/components/editor/NodeGraph/NodeGraphNodeSection.tsx:34
title?
optionaltitle:ReactNode
Defined in: src/components/editor/NodeGraph/NodeGraphNodeSection.tsx:21
Header label shown next to the collapse toggle.