mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-21 03:14:16 +02:00
add detail columns
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { ItemDetailListCellProps } from './types';
|
||||
import { ItemImage } from '/@/renderer/components/item-image/item-image';
|
||||
import { LibraryItem } from '/@/shared/types/domain-types';
|
||||
|
||||
export const ImageColumn = ({ song }: ItemDetailListCellProps) =>
|
||||
song.imageId ? (
|
||||
<ItemImage id={song.imageId} itemType={LibraryItem.SONG} type="itemCard" />
|
||||
) : (
|
||||
'—'
|
||||
);
|
||||
Reference in New Issue
Block a user