Passing 'component' as prop with 'generic' type

前端 未结 0 1956
伪装坚强ぢ
伪装坚强ぢ 2021-02-02 05:21

I\'m trying to passing component as prop with generic type. But it\'s not simple way.

This is what I do:

I created a functional component that get

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