<script setup>
defineProps({
    description: {
        type: String,
        default: '',
    },
});
</script>

<template>
    <div class="mb-6 flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between">
        <p v-if="description" class="text-sm text-slate-500">{{ description }}</p>
        <div v-else class="flex-1" />
        <div class="flex shrink-0 items-center gap-3">
            <slot />
        </div>
    </div>
</template>
