mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-24 17:59:05 +01:00
daa1963645
Resolve #3926 Resolve #3390
29 lines
411 B
Vue
29 lines
411 B
Vue
<template>
|
|
<x-code :code="code" :lang="lang" :inline="inline"/>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import Vue from 'vue';
|
|
|
|
export default Vue.extend({
|
|
components: {
|
|
XCode: () => import('./code-core.vue').then(m => m.default)
|
|
},
|
|
|
|
props: {
|
|
code: {
|
|
type: String,
|
|
required: true
|
|
},
|
|
lang: {
|
|
type: String,
|
|
required: false
|
|
},
|
|
inline: {
|
|
type: Boolean,
|
|
required: false
|
|
}
|
|
}
|
|
});
|
|
</script>
|