New: More translations for columns

(cherry picked from commit aee8579d1823b7dfb94c0055fe33b5fb5a7fbf17)

Towards #2733
This commit is contained in:
Bogdan
2023-07-29 04:39:06 +03:00
parent b319a4bce7
commit be26647afb
8 changed files with 20 additions and 13 deletions
+3 -1
View File
@@ -1,8 +1,10 @@
import React from 'react';
type PropertyFunction<T> = () => T;
interface Column {
name: string;
label: string | React.ReactNode;
label: string | PropertyFunction<string> | React.ReactNode;
columnLabel?: string;
isSortable?: boolean;
isVisible: boolean;