Page 1 of 1

How to style dropdown and dialog without global css?

Posted: 22 Apr 2021, 21:09
by xenouk
Hi,

I recently upgraded PrimeReact to 6.2.1 and I realised the dropdown and dialog have changed massively. All my css styles stopped working because those components are on top of the root now. I am using styled components and wouldn't make sense to make them all become global. Applying className to the components doesnt work either. Does anyone know to apply styles to those components? I got custom contents.

Thanks