Subscribe on changes!

使用tsx,请问defineComponent定义的子组件,如何在父组件使用时传递泛型参数?或者在定义子组件时,应怎么写?

avatar
Jun 27th 2023

What problem does this feature solve?

image

What does the proposed API look like?

使用tsx可以定义泛型组件

avatar
Jun 27th 2023

Pleased read the docs