feat: switch

This commit is contained in:
TrèsAbhi committed 2024-05-03 17:39:06 -05:00
1 parent a961643c76
commit 80c16bce1c
1 file changed
+2 -2
@@ -1,4 +1,4 @@
import { Checkbox, Flex, Heading, Text } from '@radix-ui/themes'; import { Flex, Heading, Switch, Text } from '@radix-ui/themes';
import { TIER_ROMAN_NUMERALS } from '../../../../../../core/blitzkit/tankDefinitions/constants'; import { TIER_ROMAN_NUMERALS } from '../../../../../../core/blitzkit/tankDefinitions/constants';
import { useWideFormat } from '../../../../../../hooks/useWideFormat'; import { useWideFormat } from '../../../../../../hooks/useWideFormat';
import strings from '../../../../../../lang/en-US.json'; import strings from '../../../../../../lang/en-US.json';
@@ -90,7 +90,7 @@ export function HeroSection() {
}); });
}} }}
> >
<Checkbox checked={mode === 'armor'} /> <Switch checked={mode === 'armor'} />
Armor Armor
</Flex> </Flex>
</div> </div>