I've developed a react npm package, containing element. when installed in a react project, ul css of the parent project affect the of the npm package,
How to encapsulte the npm package to prevent any global css to affect it ? without using Iframe.
for example :
Global project using the npm package
ul {
padding : 30px
}
all element inside my npm package will have padding 30px ...