defPropValFN is not a function

I am using the design system for my next project. Whenever I try to use the individual component it throws an error of Internal error: TypeError: defPropValFN is not a function.
A comprehensive error message is also included. The storybook docs are not helping either. Any help to solve this would be appreciated.

This topic has been created from a Discord post (1217121285251792987) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

Hi <@930033702858293258>. I had the same problem and fixed it.
What version of styled-components do you have in your project ? Strapi is not compatible with style-components >= v6

Hello <@582486543621423105>
I noticed the issue was with the version of styled-components in my project. I had to use v5 and it fixed the issue here. Thanks for your input👍