<script lang="ts">
    import type { Building } from "../types";

    export let building: Building;
</script>

<p>{ building.name }</p>
<p>{ building.level }</p>
