Rezi
Preparing search index...
core/src
TreeProps
Type Alias TreeProps<T>
TreeProps
:
Readonly
<
{
accessibleLabel
?:
string
;
data
:
T
|
readonly
T
[]
;
dsSize
?:
WidgetSize
;
dsTone
?:
WidgetTone
;
dsVariant
?:
WidgetVariant
;
expanded
:
readonly
string
[]
;
focusable
?:
boolean
;
getChildren
?:
(
node
:
T
)
=>
readonly
T
[]
|
undefined
;
getKey
:
(
node
:
T
)
=>
string
;
hasChildren
?:
(
node
:
T
)
=>
boolean
;
id
:
string
;
indentSize
?:
number
;
key
?:
string
;
loadChildren
?:
(
node
:
T
)
=>
Promise
<
readonly
T
[]
>
;
onChange
:
(
node
:
T
,
expanded
:
boolean
)
=>
void
;
onPress
?:
(
node
:
T
)
=>
void
;
onSelect
?:
(
node
:
T
)
=>
void
;
renderNode
:
(
node
:
T
,
depth
:
number
,
state
:
NodeState
)
=>
VNode
;
selected
?:
string
;
showLines
?:
boolean
;
}
,
>
&
LayoutConstraints
Props for tree widget.
Type Parameters
T
=
unknown
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Rezi
Loading...
Props for tree widget.