@schema-render/search-table-react
Version:
Conditional search table component.
12 lines (11 loc) • 403 B
TypeScript
import type { IGlobalStateRef, ISearchTableProps } from '../../typings/index.d';
import type { IColumnType } from '../../typings/table';
interface IParams {
table: ISearchTableProps['table'];
globalStateRef: IGlobalStateRef;
}
export default function useBaseColumns({ table, globalStateRef }: IParams): {
rawColumns: IColumnType<any>[];
baseColumns: IColumnType<string>[];
};
export {};