Passing an object with a function from one component to another (app.js to navbar.js)

后端 未结 0 1399
故里飘歌
故里飘歌 2021-02-09 23:19

I\'m trying to figure out how to pass an object with a function in it, then assign it to a

  • tag.

    The code:

    App.js:

    function App() {
    
      const log         
    
    
            
  • 相关标签:
    回答
    • 消灭零回复
    提交回复
    热议问题