Select to view content in your preferred language

how to include styled-components lib in Experience Builder (Developer Edition)?

472
0
02-07-2024 02:48 AM
Labels (2)
MichaelLev
Frequent Contributor

I want to use styled-components lib in some of my custom widgets.

In independent React project it is regularly included by "npm install styled-components".

How do I include it so I can use it in Experience Builder?

Indeed I saw Using third-party libraries 

and also Use a third-party library: react-data-grid 

but I don't undersatns how to create a shared module, how to reference the lib there, and how to import it into any widget, and I failed to find code examples.

0 Kudos
0 Replies