avoid passing native type in typescript in react component

前端 未结 0 1901
轻奢々
轻奢々 2020-12-14 21:57

I have a component that receive style or any other native html attribute, how can I avoid to declaring their obvious attribute type?

function Question({style}         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题