2019-03-02 22:35:43 +05:30
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
name: 'ReplyPlaceholder',
|
2019-09-30 21:07:59 +05:30
|
|
|
props: {
|
|
|
|
buttonText: {
|
|
|
|
type: String,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
},
|
2019-03-02 22:35:43 +05:30
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<button
|
|
|
|
ref="button"
|
|
|
|
type="button"
|
|
|
|
class="js-vue-discussion-reply btn btn-text-field"
|
|
|
|
:title="s__('MergeRequests|Add a reply')"
|
|
|
|
@click="$emit('onClick')"
|
|
|
|
>
|
2019-09-30 21:07:59 +05:30
|
|
|
{{ buttonText }}
|
2019-03-02 22:35:43 +05:30
|
|
|
</button>
|
|
|
|
</template>
|