[FIX] filter ability for admin room checkboxes (#23970)

* filter ability for admin room checkoxes

* fix: set all params in generic table

Co-authored-by: yash-rajpal <rajpal.yash03@gmail.com>
Co-authored-by: Yash Rajpal <58601732+yash-rajpal@users.noreply.github.com>
Co-authored-by: Matheus Barbosa Silva <36537004+matheusbsilva137@users.noreply.github.com>
pull/24053/head
Sidharth Mohanty 4 years ago committed by GitHub
parent 870b897615
commit 767fe08731
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      client/components/GenericTable/GenericTable.tsx

@ -13,7 +13,11 @@ import { usePagination } from './hooks/usePagination';
const defaultParamsValue = { text: '', current: 0, itemsPerPage: 25 } as const;
const defaultSetParamsValue = (): void => undefined;
type GenericTableParams = { text?: string; current?: number; itemsPerPage?: 25 | 50 | 100 };
type GenericTableParams = {
text?: string;
current?: number;
itemsPerPage?: 25 | 50 | 100;
};
type GenericTableProps<FilterProps extends { onChange?: (params: GenericTableParams) => void }, ResultProps extends { _id?: Key }> = {
fixed?: boolean;

Loading…
Cancel
Save