mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +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 { TankDefinition } from '../core/blitzkit/tankDefinitions';
|
||||||
import { tankIcon } from '../core/blitzkit/tankIcon';
|
import { tankIcon } from '../core/blitzkit/tankIcon';
|
||||||
import { classIcons } from './ClassIcon';
|
import { classIcons } from './ClassIcon';
|
||||||
|
import { ExperimentIcon } from './ExperimentIcon';
|
||||||
import { Link } from './Link';
|
import { Link } from './Link';
|
||||||
import { ScienceIcon } from './ScienceIcon';
|
|
||||||
import { StickyRowHeaderCell } from './StickyRowHeaderCell';
|
import { StickyRowHeaderCell } from './StickyRowHeaderCell';
|
||||||
|
|
||||||
interface TankRowHeaderCellProps {
|
interface TankRowHeaderCellProps {
|
||||||
@@ -60,11 +60,11 @@ export function TankRowHeaderCell({ tank }: TankRowHeaderCellProps) {
|
|||||||
style={{ minWidth: '1em', minHeight: '1em' }}
|
style={{ minWidth: '1em', minHeight: '1em' }}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{tank.name}
|
|
||||||
|
|
||||||
{tank.testing && (
|
{tank.testing && (
|
||||||
<ScienceIcon style={{ width: '1em', height: '1em' }} />
|
<ExperimentIcon style={{ width: '1em', height: '1em' }} />
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{tank.name}
|
||||||
</Link>
|
</Link>
|
||||||
</StickyRowHeaderCell>
|
</StickyRowHeaderCell>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user