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

reply_button.vue « note_actions « components « notes « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f19b7667fb239373ae9532ab8d7eba8e1a118809 (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
<script>
import { GlTooltipDirective, GlButton } from '@gitlab/ui';

export default {
  name: 'ReplyButton',
  components: {
    GlButton,
  },
  directives: {
    GlTooltip: GlTooltipDirective,
  },
};
</script>

<template>
  <div class="note-actions-item">
    <gl-button
      ref="button"
      v-gl-tooltip
      data-track-event="click_button"
      data-track-label="reply_comment_button"
      category="tertiary"
      size="small"
      icon="comment"
      :title="__('Reply to comment')"
      :aria-label="__('Reply to comment')"
      @click="$emit('startReplying')"
    />
  </div>
</template>