@larsroettig/react-cookie-popup
v2.0.1
Published
React TypeScript Cookie popup
Maintainers
Readme
Is a small React TypeScript Module allows to render a cookie popup based on Tailwind CSS.
Example Styling

A full Demo can you find here: https://github.com/larsroettig/react-cookie-popup-demo
Installation
yarn add @larsroettig/react-cookie-popupor npm
npm i @larsroettig/react-cookie-popupComponents
You can import the CookiePopup like this:
import {CookiePopup} from "@larsroettig/react-cookie-popup";How to use the CookiePopup:
<CookiePopup>
<section>
<h4 className="py-5 text-xl">
A very nice Cookie Message
</h4>
</section>
</CookiePopup>Contribute
Installation:
git clone [email protected]:larsroettig/react-cookie-popup.git
yarn installExecute Tests:
git clone [email protected]:larsroettig/react-cookie-popup.git
yarn install
yarn test:watch