This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Framer Motion props not accept proper types, when used with Flex component by doing "as={motion.div}" #8474
Closed
1 of 3 tasks
You can continue the conversation there. Go to discussion →
Description
When I was Imported
then Setup the scroll progress
and used Flex this way, using as prop
the Opacity prop, whether I use it directly or using the style object, it shows this type error
can someone update the Types to accept motion values
Link to Reproduction
na
Steps to reproduce
Provided in Description
Chakra UI Version
2.8.2
Browser
Google Chrome Version 124.0.6367.119 (Official Build) (64-bit)
Operating System
Additional Information
Allow Types
MotionValue<number> | MotionValue<string> | MotionValue<number | string>
Also props like "x,y" are missing
The text was updated successfully, but these errors were encountered: