import type { ICellRendererParams } from '@ag-grid-community/core'; import { Text } from '/@/renderer/components/text'; import { CellContainer } from '/@/renderer/components/virtual-table/cells/generic-cell'; // const AnimatedSvg = () => { // return ( //
// // // // // // // // // // // // // // // // //
// ); // }; const StaticSvg = () => { return (
); }; export const RowIndexCell = ({ value, eGridCell }: ICellRendererParams) => { const classList = eGridCell.classList; // const isFocused = classList.contains('focused'); const isPlaying = classList.contains('playing'); const isCurrentSong = classList.contains('current-song-cell') || classList.contains('current-playlist-song-cell'); return ( {isPlaying && (isCurrentSong ? : null)} {value} ); };