UNPKG

@schema-render/search-table-react

Version:
12 lines (11 loc) 403 B
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 {};