mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: move icon to font
This commit is contained in:
1 parent
43671ee754
commit
0d71288df5
1 file changed
+4
-4
@@ -1,8 +1,8 @@
|
||||
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 { ScienceIcon } from './ScienceIcon';
|
||||
import { StickyRowHeaderCell } from './StickyRowHeaderCell';
|
||||
|
||||
interface TankRowHeaderCellProps {
|
||||
@@ -60,11 +60,11 @@ export function TankRowHeaderCell({ tank }: TankRowHeaderCellProps) {
|
||||
style={{ minWidth: '1em', minHeight: '1em' }}
|
||||
/>
|
||||
|
||||
{tank.name}
|
||||
|
||||
{tank.testing && (
|
||||
<ScienceIcon style={{ width: '1em', height: '1em' }} />
|
||||
<ExperimentIcon style={{ width: '1em', height: '1em' }} />
|
||||
)}
|
||||
|
||||
{tank.name}
|
||||
</Link>
|
||||
</StickyRowHeaderCell>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user