elk/components/common/RichContent.ts
2022-11-21 05:21:53 +08:00

12 lines
185 B
TypeScript

export default defineComponent({
props: {
content: {
type: String,
required: true,
},
},
setup(props) {
return () => contentToVNode(props.content)
},
})