ReactJS framer motion in styled components

adding framer motion in styled-components would be to add the motion command to the element tag like below

const Section = styled(motion.div)``

but how to it in Link tags , i tried it as below and it didnt seem towork

const NavbarLink = styled(motion.Link)``;

appreciate your feedback

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.