import styles from './row-index-column.module.css'; import { ItemDetailRowPlayControlCell } from './row-play-control-cell'; import { ItemDetailListCellProps } from './types'; import { useDetailRowPlayControl } from './use-detail-row-play-control'; import { isRowPlayControlColumn } from '/@/renderer/components/item-list/helpers/get-row-play-control-column'; import { Icon } from '/@/shared/components/icon/icon'; import { TableColumn } from '/@/shared/types/types'; const DefaultRowIndexColumn = ({ rowIndex }: ItemDetailListCellProps) => { return <>{String((rowIndex ?? 0) + 1)}>; }; const PlayableRowIndexColumn = (props: ItemDetailListCellProps) => { const { handlePlay, isActive, isPlaying, showPlayControls } = useDetailRowPlayControl(props); const indexContent = isActive ? (