common-ui/src/lib/tables/models/table-column-config.model.ts
2021-08-06 17:29:23 +03:00

12 lines
344 B
TypeScript

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