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

Property 'onViewportBoxUpdate' is missing in type '{ children: Element[]; }' but required in type 'Pick '. #52

Closed
parikkap opened this issue Nov 18, 2021 · 2 comments

Comments

@parikkap
Copy link

Getting this error from Sheet.Container, Sheet.Header, Sheet.Content and Sheet.Backdrop. To my understanding the expected type comes from framer-motion library. Could you have a look into it?

@DiogoCoelhoo
Copy link

DiogoCoelhoo commented Jan 6, 2022

That error can be resolved with this https://exerror.com/cant-import-the-named-export-children-from-non-ecmascript-module-only-default-export-is-available/
Something happened in the framer-motion 5.x.x version that change the way that imports work.

@kaueburiti
Copy link

Do we have plans to update the library to be able to handle the last framer-motion version?

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

No branches or pull requests

4 participants