How to properly export a component from a React custom hook and a function to control it?

后端 未结 0 1790
一整个雨季
一整个雨季 2021-01-11 20:05

What I want to do is to create a reusable and convenient way of showing an alert or a confirmation modal.

Using library modals usually require you to import a Modal c

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