misskey/packages/client/src/components/formula.vue
syuilo 0e4a111f81 refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00

24 lines
431 B
Vue

<template>
<XFormula :formula="formula" :block="block" />
</template>
<script lang="ts">
import { defineComponent, defineAsyncComponent } from 'vue';import * as os from '@/os';
export default defineComponent({
components: {
XFormula: defineAsyncComponent(() => import('./formula-core.vue'))
},
props: {
formula: {
type: String,
required: true
},
block: {
type: Boolean,
required: true
}
}
});
</script>