2020-05-07 15:09:29 +00:00
|
|
|
<script>
|
2020-08-26 09:10:16 +00:00
|
|
|
/* eslint-disable vue/no-v-html */
|
2020-05-07 15:09:29 +00:00
|
|
|
import MarkdownFieldView from '~/vue_shared/components/markdown/field_view.vue';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
MarkdownFieldView,
|
|
|
|
},
|
|
|
|
props: {
|
|
|
|
description: {
|
|
|
|
type: String,
|
|
|
|
required: false,
|
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
<template>
|
2020-06-05 06:08:40 +00:00
|
|
|
<markdown-field-view class="snippet-description" data-qa-selector="snippet_description_content">
|
2020-05-07 15:09:29 +00:00
|
|
|
<div class="md js-snippet-description" v-html="description"></div>
|
|
|
|
</markdown-field-view>
|
|
|
|
</template>
|