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
6868
6969export type CellTreeProps < T extends TableNode > = {
7070 item : T ;
71- pinLeft ?: boolean ;
7271 treeIcon ?: TreeOptionsIcon <T >;
7372 children ?: React .ReactNode ;
74- };
73+ } & CellProps ;
7574
7675export type Tree < T extends TableNode > = {
7776 state : State ;
Original file line number Diff line number Diff line change 55 Modifier ,
66 Nullish ,
77} 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' ;
99
1010export enum TreeExpandClickTypes {
1111 RowClick ,
@@ -61,10 +61,9 @@ export type ColumnTreeProps<T extends TableNode> = ColumnTreePropsObject<T> | bo
6161
6262export type CellTreeProps < T extends TableNode > = {
6363 item : T ;
64- pinLeft ?: boolean ;
6564 treeIcon ?: TreeOptionsIcon < T > ;
6665 children ?: React . ReactNode ;
67- } ;
66+ } & CellProps ;
6867
6968export type Tree < T extends TableNode > = {
7069 state : State ;
You can’t perform that action at this time.
0 commit comments