Hi ,
I am Using React :"^17.0.2", and "Framer-motion": "^4.1.17" but after importing "AnimatePresence" from "framer-motion" it shows error like this
Type '{ children: false | Element; key: string; initial: false; exitBeforeEnter: true; onExitComplete: () => null; }' is not assignable to type 'IntrinsicAttributes & AnimatePresenceProps'.
Property 'children' does not exist on type 'IntrinsicAttributes & AnimatePresenceProps'.ts(2322)
Hi , I am Using React :"^17.0.2", and "Framer-motion": "^4.1.17" but after importing "AnimatePresence" from "framer-motion" it shows error like this Type '{ children: false | Element; key: string; initial: false; exitBeforeEnter: true; onExitComplete: () => null; }' is not assignable to type 'IntrinsicAttributes & AnimatePresenceProps'. Property 'children' does not exist on type 'IntrinsicAttributes & AnimatePresenceProps'.ts(2322)