How to create a styled component for framer motion components? #1173
Replies: 1 comment 2 replies
-
what is the compiler error you get ? also, I havent tested it but someone from the Panda CSS discord got it working with something like this: import { Box, } from "@panda/jsx";
import { motion } from "framer-motion";
const MotionBox = motion(Box); |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The following doesn't compile for me:
so far so good, but then when i try to use this with valid framer motion props, i get a compiler error:
Beta Was this translation helpful? Give feedback.
All reactions