Reusable component React - string as a prop

前端 未结 0 460
[愿得一人]
[愿得一人] 2020-12-18 05:50

These are all the same component but with one word changed. How to turn it into 1 reusable component?

const TabRoles: React.FC<{}> = () => (
  

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