mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
names
This commit is contained in:
1 parent
22b77398ad
commit
06832e156f
5 files changed
+59
-3
No files matched your search
@@ -56,6 +56,7 @@
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
gap: var(--space-2);
|
||||
|
||||
.value {
|
||||
|
||||
@@ -55,10 +55,18 @@ interface ToyProps {
|
||||
}
|
||||
|
||||
function Item({ name }: CharacteristicRenderConfig) {
|
||||
const strings = useStrings();
|
||||
|
||||
return (
|
||||
<span className={styles.item}>
|
||||
<div className={styles.value}>
|
||||
<Text lowContrast>{name}</Text>
|
||||
<Text lowContrast>
|
||||
{
|
||||
(strings.tanks.characteristics.items as Record<string, string>)[
|
||||
name
|
||||
]
|
||||
}
|
||||
</Text>
|
||||
<Text>123</Text>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user