Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AnimatePresence Giving Error #172

Open
Imkl11 opened this issue Sep 21, 2022 · 1 comment
Open

AnimatePresence Giving Error #172

Imkl11 opened this issue Sep 21, 2022 · 1 comment

Comments

@Imkl11
Copy link

Imkl11 commented Sep 21, 2022

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)

@fortmarek
Copy link
Contributor

Hey, please provide a full reproduction sample or steps. You can use https://snack.expo.dev/ for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants