diff --git a/src/interfaces.ts b/src/interfaces.ts index 58c6555bf..0e842a8cd 100644 --- a/src/interfaces.ts +++ b/src/interfaces.ts @@ -150,15 +150,15 @@ export interface TableComponents { Table?: React.ComponentType /** - * Set to render a fixed header at the top of the table (`thead`). use [[fixedHeaderHeight]] to set the contents + * Set to render a fixed header at the top of the table (`thead`). use [[fixedHeaderContent]] to set the contents * */ - TableHead?: React.ComponentType, 'style' | 'ref'> & { context?: Context }> + TableHead?: React.ComponentType, 'style' | 'children' | 'ref'> & { context?: Context }> /** * Set to render a fixed footer at the bottom of the table (`tfoot`). use [[fixedFooterContent]] to set the contents */ - TableFoot?: React.ComponentType, 'style' | 'ref'> & { context?: Context }> + TableFoot?: React.ComponentType, 'style' | 'children' | 'ref'> & { context?: Context }> /** * Set to customize the item wrapping element. Default is `tr`.