Cookie Popup
View Demo
·
Report Bug
·
Request Feature
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 - maximittel@outlook.de
Project Link: https://github.com/MaxiMittel/cookie-popup-gdpr