monogon
Version:
Modern syntax highlighting for developer tooling
18 lines • 536 B
JavaScript
import { defineComponent, h } from 'vue';
import '../../monogon-code';
export default defineComponent({
name: 'MonogonCode',
props: {
content: { type: String, required: true },
lang: { type: String, default: 'plaintext', required: true },
readonly: { type: Boolean, default: false },
},
render() {
return h('monogon-code', {
content: this.content,
lang: this.lang,
readonly: this.readonly,
});
},
});
//# sourceMappingURL=MonogonCode.js.map