<script setup lang="ts">
import {BadgeVariant, Flight} from "@/Types/types";
import InlineBadge from "@/Components/FlightsGoneBy/InlineBadge.vue";

const props = defineProps<{
    flight: Flight
}>();


</script>

<template>
    <InlineBadge :variant="flight.flight_class?.internal_name ?? 'generic'">
        {{ flight.flight_class?.name }}
    </InlineBadge>
</template>
