add detail columns

This commit is contained in:
jeffvli
2026-02-08 20:06:55 -08:00
parent 3d67b02724
commit 5421182cc1
37 changed files with 326 additions and 54 deletions
@@ -0,0 +1,12 @@
import { ItemDetailListCellProps } from './types';
import { TableColumn } from '/@/shared/types/types';
interface DefaultColumnProps extends ItemDetailListCellProps {
columnId: string;
}
export const DefaultColumn = ({ columnId, song }: DefaultColumnProps) => {
const raw = (song as Record<string, unknown>)[columnId];
if (raw === undefined || raw === null || typeof raw === 'object') return '—';
return String(raw);
};