gitlab-org--gitlab-foss/app/assets/javascripts/notebook/cells/output/image.vue
Phil Hughes 4755f6066b Moved NotebookLab assets into repo
Moved all the notebooklab assets into the GitLab repo
2017-04-11 18:50:21 +01:00

27 lines
404 B
Vue

<template>
<div class="output">
<prompt />
<img
:src="'data:' + outputType + ';base64,' + rawCode" />
</div>
</template>
<script>
import Prompt from '../prompt.vue';
export default {
props: {
outputType: {
type: String,
required: true,
},
rawCode: {
type: String,
required: true,
},
},
components: {
prompt: Prompt,
},
};
</script>