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