React: TypeScript generics, auto switch parameter-type from function (function as props)

前端 未结 0 1443
时光说笑
时光说笑 2021-01-24 05:21

I would like to implement the following (in React/TypeScript (.tsx))

Main.tsx

function Main() {
  return (
    

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