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

toolbar_item.vue « rich_content_editor « 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: 58aaeef45f2fde83572f0bd5fc5ce63c0cc8db69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<script>
import { GlIcon } from '@gitlab/ui';

export default {
  components: {
    GlIcon,
  },
  props: {
    icon: {
      type: String,
      required: true,
    },
  },
};
</script>
<template>
  <button class="p-0 gl-display-flex toolbar-button">
    <gl-icon class="gl-mx-auto" :name="icon" />
  </button>
</template>