blob: 30cb7967c3473d0c2a1af240bd115c1446793412 (
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
|
<script>
import { GlTooltipDirective, GlDeprecatedButton } from '@gitlab/ui';
import Icon from '~/vue_shared/components/icon.vue';
export default {
name: 'ReplyButton',
components: {
Icon,
GlDeprecatedButton,
},
directives: {
GlTooltip: GlTooltipDirective,
},
};
</script>
<template>
<div class="note-actions-item">
<gl-deprecated-button
ref="button"
v-gl-tooltip
class="note-action-button"
data-track-event="click_button"
data-track-label="reply_comment_button"
variant="transparent"
:title="__('Reply to comment')"
@click="$emit('startReplying')"
>
<icon name="comment" class="link-highlight" />
</gl-deprecated-button>
</div>
</template>
|