Nuxt/examples/advanced/jsx/components/MyComponent.tsx

13 lines
163 B
TypeScript
Raw Normal View History

export default defineComponent({
props: {
message: String
},
render: (props) => {
return (
<div>
{ props.message }
</div>
)
}
})