@moritzbrantner/diagrams - v0.1.1
GitHub
Preparing search index...
MindMapProps
Type Alias MindMapProps
MindMapProps
:
Omit
<
React.ComponentProps
<
"figure"
>
,
"children"
>
&
{
ariaLabel
?:
string
;
caption
?:
React.ReactNode
;
defaultExpandedNodeIds
?:
readonly
string
[]
;
defaultFocusedNodeId
?:
string
|
null
;
emptyMessage
?:
React.ReactNode
;
expandedNodeIds
?:
readonly
string
[]
;
focusedNodeId
?:
string
|
null
;
getNodeDisabled
?:
(
node
:
PositionedMindMapNode
)
=>
boolean
;
keyboardMode
?:
"nodes"
|
"none"
;
layout
?:
MindMapLayout
;
nodeActions
?:
|
readonly
MindMapNodeAction
[]
|
(
(
node
:
PositionedMindMapNode
)
=>
readonly
MindMapNodeAction
[]
)
;
nodes
?:
readonly
MindMapFlatNode
[]
;
onExpandedNodeIdsChange
?:
(
nodeIds
:
string
[]
,
node
:
PositionedMindMapNode
,
expanded
:
boolean
,
)
=>
void
;
onFocusedNodeIdChange
?:
(
node
:
PositionedMindMapNode
|
null
)
=>
void
;
onNodeActionSelect
?:
(
action
:
MindMapNodeAction
,
node
:
PositionedMindMapNode
,
)
=>
void
;
onNodeDeselect
?:
()
=>
void
;
onNodeSelect
?:
(
node
:
PositionedMindMapNode
)
=>
void
;
padding
?:
number
;
renderNodeSelection
?:
(
node
:
PositionedMindMapNode
)
=>
React.ReactNode
;
root
?:
MindMapNode
;
selectedNodeId
?:
string
|
null
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
@moritzbrantner/diagrams - v0.1.1
Loading...