common-ui/src/lib/tables/models/table-column-config.model.ts
2021-08-10 17:20:16 +03:00

11 lines
314 B
TypeScript

import { KeysOf } from '../../utils/types/utility-types';
export interface TableColumnConfig<T extends object> {
readonly label: string;
readonly sortByKey?: KeysOf<T>;
readonly class?: string;
readonly leftIcon?: string;
readonly rightIcon?: string;
readonly rightIconTooltip?: string;
}