typescript react, dynamic props based on a certain prop value?

后端 未结 0 912
天涯浪人
天涯浪人 2021-02-06 14:40

I\'m trying to create a React component that can have dynamic props based on a certain prop value, but I stuck in the type declaration...



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