File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
packages/compass-components/src/components Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ import {
46
46
Cell ,
47
47
HeaderCell ,
48
48
HeaderRow ,
49
- ExpandedContent ,
49
+ ExpandedContent as LGExpandedContent ,
50
50
Row ,
51
51
Table ,
52
52
TableHead ,
@@ -55,9 +55,16 @@ import {
55
55
useLeafyGreenTable ,
56
56
getExpandedRowModel ,
57
57
getFilteredRowModel ,
58
+ type ExpandedContentProps ,
58
59
} from '@leafygreen-ui/table' ;
59
60
import type { Row as LgTableRowType } from '@tanstack/table-core' ; // TODO(COMPASS-8437): import from LG
60
61
62
+ // TODO: Delete once LG-5589 is resolved
63
+ interface ExpandedContentComponentType {
64
+ < T extends unknown > ( props : ExpandedContentProps < T > ) : React . JSX . Element | null ;
65
+ }
66
+ const ExpandedContent = LGExpandedContent as ExpandedContentComponentType ;
67
+
61
68
export type {
62
69
LGColumnDef ,
63
70
HeaderGroup ,
You can’t perform that action at this time.
0 commit comments