mizzkey/src/client/components/global/i18n.ts

16 lines
277 B
TypeScript
Raw Normal View History

2020-12-26 02:01:32 +01:00
import { h, Fragment, defineComponent } from 'vue';
import type { SetupContext, VNodeChild, RenderFunction } from 'vue';
export default defineComponent({
props: {
src: {
type: String,
required: true
},
},
render() {
// TODO
return h('span', this.src);
}
});