File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
components/src/renderers/data-display Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,10 @@ import { cn } from '../../lib/utils';
66
77const TreeNodeComponent = ( {
88 node,
9- onNodeClick,
10- isChild = false
9+ onNodeClick
1110} : {
1211 node : TreeNode ;
1312 onNodeClick ?: ( node : TreeNode ) => void ;
14- isChild ?: boolean ;
1513} ) => {
1614 const [ isOpen , setIsOpen ] = useState ( false ) ;
1715 const hasChildren = node . children && node . children . length > 0 ;
@@ -85,7 +83,6 @@ const TreeNodeComponent = ({
8583 key = { child . id }
8684 node = { child }
8785 onNodeClick = { onNodeClick }
88- isChild = { true }
8986 />
9087 ) ) }
9188
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ ComponentRegistry.register(
6767 dataKey : 'value' ,
6868 xAxisKey : 'name' ,
6969 height : 400 ,
70+ color : '#8884d8' ,
7071 } ,
7172 }
7273) ;
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ export type {
7575 SeparatorSchema ,
7676 ContainerSchema ,
7777 FlexSchema ,
78+ StackSchema ,
7879 GridSchema ,
7980 CardSchema ,
8081 TabsSchema ,
Original file line number Diff line number Diff line change @@ -428,6 +428,7 @@ export type LayoutSchema =
428428 | SeparatorSchema
429429 | ContainerSchema
430430 | FlexSchema
431+ | StackSchema
431432 | GridSchema
432433 | CardSchema
433434 | TabsSchema
You can’t perform that action at this time.
0 commit comments