Welcome to mirror list, hosted at ThFree Co, Russian Federation.

settings_titles.vue « components « group « settings « packages_and_registries « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1e93875c1e3b25d8481f5bc2a76f2b946e73139c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<script>
export default {
  name: 'SettingsTitle',
  props: {
    title: {
      type: String,
      required: true,
    },
    subTitle: {
      type: String,
      required: false,
      default: '',
    },
  },
};
</script>

<template>
  <div>
    <h5 class="gl-border-b-solid gl-border-b-1 gl-border-gray-200 gl-pb-3">
      {{ title }}
    </h5>
    <p v-if="subTitle">{{ subTitle }}</p>
    <slot></slot>
  </div>
</template>