Unable to use two modals on same page using useDisclosure() in ChakraUI

前端 未结 0 1721
一个人的身影
一个人的身影 2021-01-22 16:07

There is a custom hook useDisclosure() provided by chakraUI which returns isOpen, onClose , onOpen.

  const { isOpen, onOpen, onClose } = useDisclosure()         


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