26 lines
640 B
JavaScript
26 lines
640 B
JavaScript
import CookieConsent from "react-cookie-consent";
|
|
|
|
import React, { Component } from 'react';
|
|
|
|
|
|
class Cookies extends Component {
|
|
|
|
render() {
|
|
return (
|
|
<CookieConsent
|
|
location="bottom"
|
|
buttonText="Okay!!"
|
|
cookieName="cookieConsent"
|
|
style={{ background: "#2B373B" }}
|
|
buttonStyle={{ background: "white", color: "#4EAF47", fontSize: "1rem" }}
|
|
expires={150}
|
|
>
|
|
This website uses cookies to enhance the user experience.{" "}
|
|
</CookieConsent>
|
|
);
|
|
};
|
|
}
|
|
|
|
|
|
export default Cookies;
|