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

16 lines
277 B
TypeScript
Raw Normal View History

2020-12-26 03:01:32 +02: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);
}
});