updated docs

This commit is contained in:
2025-05-13 18:45:23 +03:00
parent 6dfa17c5e6
commit 3627412fe9
247 changed files with 30258 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
import { ApiPaginationRequestWithQuery } from "@/validations/mutual/api/requests/validations";
interface TableProps {
data: any;
orgData: any;
columns: string[];
translations?: Record<string, string>;
redirectUrls?: Record<string, Record<string, React.ReactNode>>;
setSelectedRow?: React.Dispatch<React.SetStateAction<any>>;
}
interface TableComponentProps {
urls: Record<string, string>;
schemas: Record<string, any>;
translations: Record<string, string>;
columns: Record<string, any>;
redirectUrls: Record<string, Record<string, React.ReactNode>>;
initPagination?: ApiPaginationRequestWithQuery;
setSelectedRow?: React.Dispatch<React.SetStateAction<any>>;
RenderListChangeSize?: React.ReactNode;
}
interface TableCardProps {
data: any;
columns: string[];
translations?: Record<string, string>;
}
interface SearchProps {
pagination: any;
setPagination: (pagination: any) => void;
}
export type { TableProps, TableComponentProps, TableCardProps, SearchProps };