can access props of another component useing hoc like this?

后端 未结 0 530
心在旅途
心在旅途 2020-12-18 22:41
import othercomponent from  "./othercomponent ";
    
 

   const mycomp=(props) => function WrapperFn() {
    console.log(props)


    }
        

expo         


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