Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

open two modal in chakra ui

//assign different name to isOpen,onOpen,onClose 
const { isOpen: isEditOpen, onOpen: onEditOpen, onClose: onEditClose } = useDisclosure()
const { isOpen: isDeleteOpen, onOpen: onDeleteOpen, onClose: onDeleteClose } = useDisclosure()
 
PREVIOUS NEXT
Tagged: #open #modal #chakra #ui
ADD COMMENT
Topic
Name
9+8 =