mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: career stats
This commit is contained in:
1 parent
8c041d4eef
commit
d801447e5d
6 files changed
+252
-121
No files matched your search
@@ -5,13 +5,13 @@ import { TREE_TYPE_ICONS, TreeTypeEnum } from '../../Tanks';
|
||||
import { RowStat } from './RowStat';
|
||||
|
||||
interface RowProps {
|
||||
type: 'tank' | 'summary';
|
||||
type?: 'tank' | 'summary';
|
||||
title: string;
|
||||
minimized?: boolean;
|
||||
treeType?: TreeTypeEnum;
|
||||
tankType?: TankType;
|
||||
|
||||
rows: {
|
||||
stats: {
|
||||
title: string;
|
||||
current?: number | string;
|
||||
career?: number | string;
|
||||
@@ -77,7 +77,7 @@ export function Row(props: RowProps) {
|
||||
paddingBottom: 8,
|
||||
}}
|
||||
>
|
||||
{props.rows.map((row, index) => (
|
||||
{props.stats.map((row, index) => (
|
||||
<RowStat
|
||||
minimized={props.minimized}
|
||||
key={index}
|
||||
|
||||
Reference in new issue
Block a user