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

dropdown_header.vue « color_select_dropdown « components « vue_shared « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a32b1570f5faf4383df34a1fd03ed7e85b391f95 (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
27
28
29
30
31
<script>
import { GlButton } from '@gitlab/ui';

export default {
  components: {
    GlButton,
  },
  props: {
    dropdownTitle: {
      type: String,
      required: true,
    },
  },
};
</script>

<template>
  <div>
    <div class="dropdown-title gl-display-flex gl-align-items-center gl-pt-0 gl-pb-3!">
      <span class="gl-flex-grow-1">{{ dropdownTitle }}</span>
      <gl-button
        :aria-label="__('Close')"
        variant="link"
        size="small"
        class="dropdown-header-button gl-p-0!"
        icon="close"
        @click="$emit('closeDropdown')"
      />
    </div>
  </div>
</template>