@aveonline/ui-react
Version:
Home base for Aveonline design system - ecosystem react
15 lines (14 loc) • 353 B
TypeScript
import { RowData, Table } from '@tanstack/react-table';
interface ISortItem {
idHeader: string;
title: string;
desc?: boolean;
asc?: boolean;
}
interface ISortTable<T extends RowData> {
table: Table<T>;
sortItem: Array<ISortItem>;
checkBoxSelect: string;
titleSortTable?: string;
}
export type { ISortTable, ISortItem };