diff --git a/src/components/basic/Table/index.tsx b/src/components/basic/Table/index.tsx index 425fd45..e30db4f 100644 --- a/src/components/basic/Table/index.tsx +++ b/src/components/basic/Table/index.tsx @@ -88,6 +88,7 @@ export interface TableProps extends DataGridProps { loadLabel?: string nextPage?: () => void buttons?: AdditionalButtonsType[] + onClearSearch?: () => void } export const Table = ({ @@ -132,6 +133,7 @@ export const Table = ({ loadLabel = 'load more', nextPage, buttons, + onClearSearch, ...props }: TableProps) => { const toolbarProps = { @@ -158,6 +160,7 @@ export const Table = ({ onSortClick, autoFocus, buttons, + onClearSearch, } // TODO: this method contains application specific row attributes and must therefore