@moritzbrantner/diagrams - v0.1.1
GitHub
Preparing search index...
OrgChartNode
Variable OrgChartNode
Const
OrgChartNode
:
MemoExoticComponent
<
(
__namedParameters
:
ClassAttributes
<
HTMLDivElement
>
&
HTMLAttributes
<
HTMLDivElement
,
>
&
{
defaultExpanded
?:
boolean
;
depth
?:
number
;
disabled
?:
boolean
;
expanded
?:
boolean
;
focused
?:
boolean
;
focusedNodeId
?:
string
|
null
;
getNodeDisabled
?:
(
node
:
OrgChartNodeData
,
context
:
OrgChartRenderNodeContext
,
)
=>
boolean
;
getNodeExpanded
?:
(
node
:
OrgChartNodeData
)
=>
boolean
;
index
?:
number
;
keyboardMode
?:
OrgChartKeyboardMode
;
node
:
OrgChartNodeData
;
nodeActions
?:
|
readonly
OrgChartNodeAction
[]
|
(
(
node
:
OrgChartNodeData
,
context
:
OrgChartRenderNodeContext
,
)
=>
readonly
OrgChartNodeAction
[]
)
;
onExpandedChange
?:
(
expanded
:
boolean
,
node
:
OrgChartNodeData
)
=>
void
;
onFocusNode
?:
(
node
:
OrgChartNodeData
,
context
:
OrgChartRenderNodeContext
,
)
=>
void
;
onNodeActionSelect
?:
(
action
:
OrgChartNodeAction
,
node
:
OrgChartNodeData
,
context
:
OrgChartRenderNodeContext
,
)
=>
void
;
onNodeKeyDown
?:
(
event
:
KeyboardEvent
<
HTMLDivElement
>
,
node
:
OrgChartNodeData
,
context
:
OrgChartRenderNodeContext
,
)
=>
void
;
onNodeSelect
?:
(
node
:
OrgChartNodeData
,
context
:
OrgChartRenderNodeContext
,
)
=>
void
;
onToggleNode
?:
(
node
:
OrgChartNodeData
,
expanded
:
boolean
)
=>
void
;
parentNode
?:
OrgChartNodeData
;
path
?:
string
[]
;
renderNode
?:
(
node
:
OrgChartNodeData
,
depth
:
number
,
context
:
OrgChartRenderNodeContext
,
)
=>
ReactNode
;
selected
?:
boolean
;
selectedNodeId
?:
string
|
null
;
siblingCount
?:
number
;
}
&
{
renderedNodeIds
?:
ReadonlySet
<
string
>
;
setNodeRef
?:
(
nodeId
:
string
,
element
:
HTMLDivElement
|
null
)
=>
void
;
}
,
)
=>
Element
|
null
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
@moritzbrantner/diagrams - v0.1.1
Loading...