Files
blitzkit/packages/bot/src/components/Flag.tsx
T

19 lines
335 B
TypeScript
Raw Normal View History

2024-09-08 10:11:24 -05:00
import { asset } from '@blitzkit/core';
2023-12-06 17:58:26 -06:00
interface FlagProps {
nation: string;
}
export function Flag({ nation }: FlagProps) {
return (
<div
style={{
width: 22,
height: 22,
overflow: 'hidden',
}}
>
2024-05-04 16:28:12 -05:00
<img alt={nation} src={asset(`flags/circle/${nation}.webp`)} />
2023-12-06 17:58:26 -06:00
</div>
);
}