Socket
Socket
Sign inDemoInstall

@fremtind/jkl-cookie-consent-react

Package Overview
Dependencies
7
Maintainers
3
Versions
182
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fremtind/jkl-cookie-consent-react

Jøkul react cookie consent component


Version published
Maintainers
3
Weekly downloads
181
increased by5933.33%

Weekly downloads

Readme

Source

Se portalen for bruk og prinsipper.

Installasjon

Tips: stilpakken blir automatisk installert som en avhengighet.

  1. npm i @fremtind/jkl-cookie-consent-react.
  2. Importér både React-komponent og stilark i prosjektet ditt.
import { CookieConsentProvider, CookieConsent, useCookieConsent } from "@fremtind/jkl-cookie-consent-react";

// Importer stilark via JavaScript med CSS-loader.
import "@fremtind/jkl-cookie-consent/cookie-consent.min.css";

// CookieConsent bruker flere andre komponenter og trenger stilarkene deres for å fungere.
import "@fremtind/jkl-button/button.min.css";
import "@fremtind/jkl-list/list.min.css";
import "@fremtind/jkl-modal/modal.min.css";
// Eller importer stilark via SCSS.
@use "@fremtind/jkl-cookie-consent/cookie-consent";
@use "@fremtind/jkl-button/button";
@use "@fremtind/jkl-list/list";
@use "@fremtind/jkl-modal/modal";

Keywords

FAQs

Last updated on 26 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc