mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-30 05:14:06 +01:00
feat: better loading
This commit is contained in:
1 parent
c27ebdbcb3
commit
6f387e28f9
5 files changed
+26
-13
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import { Flex, Spinner } from '@radix-ui/themes';
|
||||
import { tankIcon } from '../../../../../../core/blitzkit/tankIcon';
|
||||
|
||||
export function TankSandboxLoader({ id }: { id: number }) {
|
||||
return (
|
||||
<Flex width="100%" height="100%" align="center" justify="center">
|
||||
<img src={tankIcon(id)} style={{ height: '75%', filter: 'blur(0rem)' }} />
|
||||
<Spinner size="3" style={{ position: 'absolute' }} />
|
||||
</Flex>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user