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

runner_tags.vue « components « runner « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4ba07e00c9695a864684c10a50595a2a161cf03c (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
32
33
<script>
import { GlBadge } from '@gitlab/ui';

export default {
  components: {
    GlBadge,
  },
  props: {
    tagList: {
      type: Array,
      required: false,
      default: () => [],
    },
    size: {
      type: String,
      required: false,
      default: 'md',
    },
    variant: {
      type: String,
      required: false,
      default: 'info',
    },
  },
};
</script>
<template>
  <div>
    <gl-badge v-for="tag in tagList" :key="tag" :size="size" :variant="variant">
      {{ tag }}
    </gl-badge>
  </div>
</template>