Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maximittel/cookie-popup-gdpr-react
React component for cookie-popup-gdpr.
https://github.com/maximittel/cookie-popup-gdpr-react
cookie-popup cookies dsgvo eu-cookie eu-cookie-law gdpr
Last synced: 15 days ago
JSON representation
React component for cookie-popup-gdpr.
- Host: GitHub
- URL: https://github.com/maximittel/cookie-popup-gdpr-react
- Owner: MaxiMittel
- License: mit
- Created: 2020-11-25T20:22:07.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-07T11:22:11.000Z (over 3 years ago)
- Last Synced: 2023-08-03T23:19:05.600Z (over 1 year ago)
- Topics: cookie-popup, cookies, dsgvo, eu-cookie, eu-cookie-law, gdpr
- Language: TypeScript
- Homepage:
- Size: 59.6 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Cookie Popup
View Demo
·
Report Bug
·
Request Feature
## Information
This is a React component for [cookie-popup-gdpr](https://github.com/MaxiMittel/cookie-popup-gdpr).
## Install
```sh
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](https://github.com/MaxiMittel/cookie-popup-gdpr#cookiepopupconfig).
```js
function App(){
let config = {
header: "This site contains cookies",
//Rest of your configuration
};return (
);
}
```## Configuration
[More information](https://github.com/MaxiMittel/cookie-popup-gdpr#cookiepopupconfig)
[Example](https://jsfiddle.net/MaxiMittel/uavrwmdc/)
## 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**.
1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request## License
Distributed under the MIT License. See `LICENSE` for more information.
## Contact
Maximilian Mittelhammer - [@maxi_maximittel](https://twitter.com/maxi_maximittel) - [email protected]
Project Link: [https://github.com/MaxiMittel/cookie-popup-gdpr](https://github.com/MaxiMittel/cookie-popup-gdpr)