React JS: Why function is not working in forwardRef of child?

前端 未结 0 808
北荒
北荒 2021-01-31 04:39

I am trying to create a notifications modal which opens and closes on click of a button.

In my parent component, I have the following:

        let [display         


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