UNPKG

@schema-render/search-table-react

Version:
15 lines (14 loc) 518 B
import type { IGlobalStateRef } from '../../typings'; import type { IColumnType, ITableProps } from '../../typings/table.d'; interface IParams { baseColumns: IColumnType<any>[]; table: ITableProps; globalStateRef: IGlobalStateRef; } export default function useSortColumns({ baseColumns, table, globalStateRef }: IParams): { sortColumns: IColumnType<any>[]; sortModalHolder: import("react/jsx-runtime").JSX.Element; openSettingModal: () => void; closeSettingModal: () => void; }; export {};