mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 11:17:05 +02:00
fix: a few type issues
This commit is contained in:
1 parent
a1e6643dc0
commit
9e89198cd5
5 files changed
+77
-39
No files matched your search
@@ -4,18 +4,12 @@ import { theme } from '../../../stitches.config';
|
||||
import { TREE_TYPE_ICONS, TreeTypeEnum } from '../../Tanks';
|
||||
import { RowStat } from './RowStat';
|
||||
|
||||
type RowProps = (
|
||||
| {
|
||||
type: 'tank';
|
||||
treeType?: TreeTypeEnum;
|
||||
tankType?: TankType;
|
||||
}
|
||||
| {
|
||||
type: 'summary';
|
||||
}
|
||||
) & {
|
||||
interface RowProps {
|
||||
type: 'tank' | 'summary';
|
||||
title: string;
|
||||
minimized?: boolean;
|
||||
treeType?: TreeTypeEnum;
|
||||
tankType?: TankType;
|
||||
|
||||
rows: {
|
||||
title: string;
|
||||
@@ -24,7 +18,7 @@ type RowProps = (
|
||||
delta?: number;
|
||||
percentile?: Percentile;
|
||||
}[];
|
||||
};
|
||||
}
|
||||
|
||||
export function Row(props: RowProps) {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user