blob: 8c8cc7984b14023308ad298b55f8ba7d99e22060 (
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';
import { __ } from '~/locale';
export default {
i18n: {
buttonText: __('Reply to comment'),
},
name: 'ReplyButton',
components: {
GlButton,
},
directives: {
GlTooltip: GlTooltipDirective,
},
};
</script>
<template>
<gl-button
v-gl-tooltip
data-track-action="click_button"
data-track-label="reply_comment_button"
category="tertiary"
icon="comment"
:title="$options.i18n.buttonText"
:aria-label="$options.i18n.buttonText"
@click="$emit('startReplying')"
/>
</template>
|