<script setup lang="ts">
import PanelLabel from "@/Components/FlightsGoneBy/Panels/PanelLabel.vue";

defineProps<{
    label?: string
}>()
</script>

<template>
    <div class="panel glass glass-border">
        <PanelLabel v-if="label">{{label}}</PanelLabel>
        <slot />
    </div>
</template>

<style scoped>
.panel {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
</style>
