mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 02:00:34 +01:00
23 lines
437 B
Vue
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>
|