mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
fix: missing tank types
This commit is contained in:
1 parent
86664b5491
commit
1d1d751d43
2 files changed
+5
-5
No files matched your search
@@ -5,7 +5,7 @@ import {
|
||||
GrayColor,
|
||||
PALETTES,
|
||||
} from '../../../constants/radixColors';
|
||||
import { TREE_TYPE_ICONS, TreeTypeEnum } from '../../Tanks';
|
||||
import { TREE_TYPE_ICONS, TankType, TreeTypeEnum } from '../../Tanks';
|
||||
import { RowStat } from './RowStat';
|
||||
|
||||
export interface RowStatItem {
|
||||
@@ -21,7 +21,7 @@ interface RowProps {
|
||||
title: string;
|
||||
minimized?: boolean;
|
||||
treeType?: TreeTypeEnum;
|
||||
tankType?: string;
|
||||
tankType?: TankType;
|
||||
color?: AccentColor | GrayColor;
|
||||
stats: (RowStatItem | undefined)[];
|
||||
}
|
||||
@@ -72,8 +72,8 @@ export function Row({
|
||||
? treeType === TreeTypeEnum.Collector
|
||||
? theme.textLowContrast_blue
|
||||
: treeType === TreeTypeEnum.Premium
|
||||
? theme.textLowContrast_amber
|
||||
: theme.textHighContrast
|
||||
? theme.textLowContrast_amber
|
||||
: theme.textHighContrast
|
||||
: theme.textLowContrast,
|
||||
fontWeight: 900,
|
||||
fontSize: 16,
|
||||
|
||||
@@ -22,7 +22,7 @@ export const TREE_TYPE_NAMES: Record<TreeTypeString, string> = {
|
||||
|
||||
export interface ItemProps {
|
||||
image?: string;
|
||||
tankType?: string;
|
||||
tankType?: TankType;
|
||||
name: string;
|
||||
treeType: TreeTypeEnum;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user