Reactjs – How to add animation to a modal using tailwind css
I made a modal that given below: export const Modal = ({ onClose, children, title = "" }) => { const handleBackdropClick = (e) => { e.target === e.currentTarget && onClose(); }; useEffect(() => { document.body.style.overflow = "hidden"; return ()…