[enhancement]: apply formatting to card values

This commit is contained in:
Kendall Garner
2024-05-26 12:20:01 -07:00
parent 38ed083693
commit aa89c5e80e
9 changed files with 95 additions and 75 deletions
+2
View File
@@ -1,3 +1,4 @@
import { ReactNode } from 'react';
import { ServerFeatures } from '/@/renderer/api/features-types';
import {
Album,
@@ -37,6 +38,7 @@ export type TableType =
export type CardRow<T> = {
arrayProperty?: string;
format?: (value: T) => ReactNode;
property: keyof T;
route?: CardRoute;
};