mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-10 06:12:43 +02:00
[enhancement]: apply formatting to card values
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user