4755f6066b
Moved all the notebooklab assets into the GitLab repo
27 lines
404 B
Vue
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>
|