IKHSAN
EN Read in EnglishID

opendesk

Publik
Branch
main
Commit terakhir
08d9f3328 Oktober 2026

SettingsLayoutHeader.vue

Buka raw
<template>
  <div class="flex items-start justify-between">
    <div class="flex flex-col gap-1">
      <slot name="title">
        <h1 class="text-md-semibold text-ink-gray-8">
          {{ title }}
        </h1>
      </slot>
      <slot name="description">
        <p class="text-p-sm max-w-md text-ink-gray-6">
          {{ description }}
        </p>
      </slot>
    </div>
    <slot name="actions" />
  </div>
  <div class="mt-6" v-if="Boolean($slots['bottom-section'])">
    <slot name="bottom-section" />
  </div>
</template>

<script setup lang="ts">
defineProps({
  title: {
    type: String,
  },
  description: {
    type: String,
  },
});
</script>
byte
664
baris
32
Jenis
vue
Commit terakhir
28 Oktober 2026