Lib: Allow table value formatting function to return promise

This commit is contained in:
2024-12-23 16:02:47 +01:00
parent 835146e38a
commit 3e0f17faf0
2 changed files with 5 additions and 3 deletions

View File

@ -6,5 +6,5 @@ export interface TableColumn {
label: string;
/** Any function to further customize the displayed value. May return HTML. */
valuefun?: (value: any) => string;
valuefun?: (value: any) => Promise<string>;
}