File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
components/tree/__examples__
utilities/sample-data/tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ const sampleNodes = {
19
19
expanded : true ,
20
20
nodes : [
21
21
{
22
- label : 'Ground Fruits' ,
22
+ assistiveText : 'Ground Fruits' ,
23
+ label : < span > Ground Fruits</ span > ,
23
24
type : 'branch' ,
24
25
id : 4 ,
25
26
nodes : [
Original file line number Diff line number Diff line change
1
+ import React from 'react' ;
1
2
import sampleNodesWithLargeDataset from './sample-nodes-with-large-dataset' ;
2
3
import sampleNodesWithInitialState from './sample-nodes-with-initial-state' ;
3
4
@@ -13,7 +14,8 @@ const sampleNodesDefault = [
13
14
id : 2 ,
14
15
nodes : [
15
16
{
16
- label : 'Ground Fruits' ,
17
+ assistiveText : 'Ground Fruits' ,
18
+ label : < span > Ground Fruits</ span > ,
17
19
type : 'branch' ,
18
20
id : 4 ,
19
21
nodes : [
You can’t perform that action at this time.
0 commit comments