How can I implement a “as” prop with TypeScript while passing down the props?

后端 未结 0 986
慢半拍i
慢半拍i 2021-02-04 23:47

I am building a library of components and I need some of them to have a customizable tag name. For example, sometimes what looks like a

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