useState passed to useContext not updating state

后端 未结 0 1684
南笙
南笙 2021-01-12 12:37

I am trying to use useContext to create a generic Tooltip component that passes a close() function to the content inside the Tooltip. I have written my Tooltip like this

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