import { userType } from "./user";

export type tableDataType = {
  data: Array<userType | any>;
  total: number;
  pageNumber: number;
  pageSize: number;
}

export type tableOptionType = {
  url: string;
  showPagination?: boolean;
  searchParams: object;
  searchUrl: string;
  resizeTable?: boolean;
  executeType?: "reset" | "list" | "search";
};