Canonical way to clone React children with correct types?

前端 未结 0 1053
悲哀的现实
悲哀的现实 2021-01-13 19:10

Given a functional React component that accepts children, what\'s the canonical way to clone those children with correct types?

type Props = {
  children: Rea         


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