Skip to content

Commit 649ed38

Browse files
authored
feat: export INTERNAL_HOOKS directly (#988)
1 parent 4d342b2 commit 649ed38

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Table.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -817,13 +817,16 @@ export function genTable(shouldTriggerRender?: CompareProps<typeof Table>): type
817817
const ImmutableTable = genTable();
818818
type ImmutableTableType = typeof ImmutableTable & {
819819
EXPAND_COLUMN: typeof EXPAND_COLUMN;
820+
INTERNAL_HOOKS: typeof INTERNAL_HOOKS;
820821
Column: typeof Column;
821822
ColumnGroup: typeof ColumnGroup;
822823
Summary: typeof FooterComponents;
823824
};
824825

825826
(ImmutableTable as ImmutableTableType).EXPAND_COLUMN = EXPAND_COLUMN;
826827

828+
(ImmutableTable as ImmutableTableType).INTERNAL_HOOKS = INTERNAL_HOOKS;
829+
827830
(ImmutableTable as ImmutableTableType).Column = Column;
828831

829832
(ImmutableTable as ImmutableTableType).ColumnGroup = ColumnGroup;

0 commit comments

Comments
 (0)