How could I tell typescript that props come from react clone element?

后端 未结 0 1643
太阳男子
太阳男子 2021-01-05 03:54

I had a gather component wrapped all my child. I assume this gather must pass "props: {index}" to every child.

Gather.tsx

const Gather: React         


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