Palmabit-IT / react-cookie-law

React Cookie Law is a cookie-info banner compliance with the GDPR and the EU cookie law. It allows the user to give consent in a granular way.
113 stars 55 forks source link

Does not work with styled components #5

Closed K3vinF closed 4 years ago

K3vinF commented 4 years ago

Hi,

I am trying to use the react cookie law component with styled components.

However because (as I can see sofar) the cookiebanner component does not implement a className prop, no styles get applied.

https://www.styled-components.com/docs/advanced#styling-normal-react-components

If I can find some time I could make a pull request for this. Would you be open to this?

K3vinF commented 4 years ago

I went ahead and made a pull request: https://github.com/Palmabit-IT/react-cookie-law/pull/6

K3vinF commented 4 years ago

Thanks for merging!