[BUG] Property '$$typeof' is missing in ForwardRefComponent
#2632
Labels
bug
Something isn't working
ForwardRefComponent
#2632
1. FAQs
馃憤
2. Describe the bug
framer-motion
's new definition ofForwardRefComponent
has broken compatibility withReact.ForwardRefExoticComponent
3. CodeSandbox
CodeSandbox
(seems like you'll need to create a fork to run the TS language server...?)
4. Steps to reproduce
Steps to reproduce the behavior:
React.ForwardRefExoticComponent
.motion.div
to that component.$$typeof
in framer'sForwardRefComponent
.5. Expected behavior
No typescript error, as in
framer-motion@11.1.3
6. Video or screenshots
7. Environment details
TypeScript 5.4.5
The text was updated successfully, but these errors were encountered: