<template>
  <ImageBox
    :title="building.displayName"
    :subtitle="building.address"
    :route-link="{ name: 'building', params: { id: building.id } }"
  />
</template>

<script setup lang="ts">
import ImageBox from '../../components/ImageBox.vue';
import { BuildingListItem } from '../../interfaces/building.interfaces';

const props = defineProps<{
  building: BuildingListItem;
}>();
</script>
