cookie-popup-gdpr-react
v1.3.6
Published
Simple lightweight EU, GDPR cookie popup for React.
Downloads
24
Maintainers
Readme
Information
This is a React component for cookie-popup-gdpr.
Install
npm i cookie-popup-gdpr-react
Usage
To configure and show the popup add the code below. You can find more information about the configuration here.
function App(){
let config = {
header: "This site contains cookies",
//Rest of your configuration
};
return (
<div>
<CookiePopup config={config}>
</div>
);
}
Configuration
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE
for more information.
Contact
Maximilian Mittelhammer - @maxi_maximittel - [email protected]
Project Link: https://github.com/MaxiMittel/cookie-popup-gdpr