import { TankDefinition } from '../core/blitzkit/tankDefinitions'; import { tankIcon } from '../core/blitzkit/tankIcon'; import { classIcons } from './ClassIcon'; import { ExperimentIcon } from './ExperimentIcon'; import { Link } from './Link'; import { StickyRowHeaderCell } from './StickyRowHeaderCell'; interface TankRowHeaderCellProps { tank: TankDefinition; } export function TankRowHeaderCell({ tank }: TankRowHeaderCellProps) { const Icon = classIcons[tank.class]; return ( {tank.name} {tank.testing && ( )} {tank.name} ); }