cookie-popup-gdpr-react
TypeScript icon, indicating that this package has built-in type declarations

1.3.6 • Public • Published

Logo

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

More information

Example

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 - maximittel@outlook.de

Project Link: https://github.com/MaxiMittel/cookie-popup-gdpr

Package Sidebar

Install

npm i cookie-popup-gdpr-react

Weekly Downloads

3

Version

1.3.6

License

MIT

Unpacked Size

6.28 kB

Total Files

6

Last publish

Collaborators

  • maximittel