misskey/src/client/components/formula.vue
2021-03-23 17:30:14 +09:00

23 lines
437 B
Vue

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