[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
No known key found for this signature in database
GPG key ID: 18D2767419676C87
9 changed files with 95 additions and 75 deletions

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;
};