<script context="module" lang="ts">
    import type { components } from "../../apiScheme";

    type EventType = components["schemas"]["FreeForAllGame"];
</script>

<script lang="ts">
    import AutoDisplay from "./AutoDisplay.svelte";
import Block from "./Block.svelte";

    export let event: EventType;
</script>


<AutoDisplay object={event} />
<!--
<Block>
    <p>Participants</p>
    <Block>
        {#each event.participants as participant}
            <p>{participant}</p>   
        {/each}
    </Block>
    <p>Rewards</p>
    <Block>
        <p>Win</p>
        <Block>
            <p>{event.win_rewards}</p>
        </Block>
        <p>Lose</p>
        <Block>
            <p>{event.lose_rewards}</p>
        </Block>
    </Block>
</Block>
-->
