debian-mirror-gitlab/app/assets/javascripts/vue_shared/components/code_block.vue
2018-11-18 11:00:15 +05:30

16 lines
248 B
Vue

<script>
export default {
name: 'CodeBlock',
props: {
code: {
type: String,
required: true,
},
},
};
</script>
<template>
<pre class="code-block rounded">
<code class="d-block">{{ code }}</code>
</pre>
</template>