feat: Captain settings header component (#11912)

This commit is contained in:
Sivin Varghese
2025-07-09 22:21:25 +05:30
committed by GitHub
parent 3e5ca9bca9
commit 5140deb6f6
2 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<script setup>
defineProps({
heading: {
type: String,
required: true,
},
description: {
type: String,
default: '',
},
});
</script>
<template>
<header class="flex flex-col items-start gap-2">
<h2 class="text-n-slate-12 text-base font-medium">{{ heading }}</h2>
<p class="text-n-slate-11 text-sm">{{ description }}</p>
</header>
</template>