File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -68,10 +68,9 @@ export type ColumnTreeProps<T extends TableNode> = ColumnTreePropsObject<T> | bo
68
68
69
69
export type CellTreeProps < T extends TableNode > = {
70
70
item : T ;
71
- pinLeft ?: boolean ;
72
71
treeIcon ?: TreeOptionsIcon <T >;
73
72
children ?: React .ReactNode ;
74
- };
73
+ } & CellProps ;
75
74
76
75
export type Tree < T extends TableNode > = {
77
76
state : State ;
Original file line number Diff line number Diff line change 5
5
Modifier ,
6
6
Nullish ,
7
7
} from '@table-library/react-table-library/types/common' ;
8
- import { TableNode , GetRowProps } from '@table-library/react-table-library/types/table' ;
8
+ import { TableNode , GetRowProps , CellProps } from '@table-library/react-table-library/types/table' ;
9
9
10
10
export enum TreeExpandClickTypes {
11
11
RowClick ,
@@ -61,10 +61,9 @@ export type ColumnTreeProps<T extends TableNode> = ColumnTreePropsObject<T> | bo
61
61
62
62
export type CellTreeProps < T extends TableNode > = {
63
63
item : T ;
64
- pinLeft ?: boolean ;
65
64
treeIcon ?: TreeOptionsIcon < T > ;
66
65
children ?: React . ReactNode ;
67
- } ;
66
+ } & CellProps ;
68
67
69
68
export type Tree < T extends TableNode > = {
70
69
state : State ;
You can’t perform that action at this time.
0 commit comments