Open juujisai opened 11 months ago
Example:
const [isOpen, setIsOpen] = useState(false) return ( <TWEModal open={isOpen} onOpen={() => setIsOpen(true)} onClose={() => setIsOpen(false)} )
setOpen should not be passed to the component
setOpen
Example:
setOpen
should not be passed to the component