Skip to content

Commit e7a55d4

Browse files
fix(AnalyticalTable - TypeScript): correct tableHooks type (#5328)
Co-authored-by: Marcus Notheis <[email protected]>
1 parent b87c5fd commit e7a55d4

File tree

1 file changed

+2
-2
lines changed
  • packages/main/src/components/AnalyticalTable/types

1 file changed

+2
-2
lines changed

packages/main/src/components/AnalyticalTable/types/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,9 +500,9 @@ export interface AnalyticalTablePropTypes extends Omit<CommonProps, 'title'> {
500500
*/
501501
reactTableOptions?: Record<string, unknown>;
502502
/**
503-
* You can use this prob to add custom hooks to the table.
503+
* You can use this prop to add custom hooks to the table.
504504
*/
505-
tableHooks?: ((hooks?: ReactTableHooks) => void)[];
505+
tableHooks?: ((hooks: ReactTableHooks) => void)[];
506506
/**
507507
* Defines the key for nested rows.
508508
*

0 commit comments

Comments
 (0)