feat: code split module buttons

This commit is contained in:
TrèsAbhi committed 2024-02-12 19:24:34 -06:00
1 parent 9d7c60e92d
commit 574b1eec92
17 files changed
+230 -153

No files matched your search

@@ -0,0 +1,17 @@
import { asset } from '../../core/blitzkrieg/asset';
import { GenericTankComponentButton } from './GenericTankComponentButton';
import { TankComponentButtonProps } from './TankComponentButton';
export function CamouflageButton(props: TankComponentButtonProps) {
return (
<GenericTankComponentButton
icon={asset('icons/camo.webp')}
iconStyles={{
top: '50%',
left: '50%',
transform: 'translate(calc(-50% + 4px), calc(-50% + 4px))',
}}
{...props}
/>
);
}