<script>
  import { ICONS } from '$lib/games/match/icons.js';
  let { name, size = 34 } = $props();
</script>

<svg viewBox="0 0 24 24" width={size} height={size} fill="none" stroke="currentColor"
     stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
  {@html ICONS[name] ?? ''}
</svg>
