Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@s-ui/react-cmp-banner

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@s-ui/react-cmp-banner

This component shows a Banner to inform the user that the website use cookies with different purposes. From here, it could just accept it and keep using the website or open the <CmpModal> in order to know more about this and even customize the consents.

  • 1.3.0
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
3
Weekly downloads
 
Created
Source

CmpBanner

This component shows a Banner to inform the user that the website use cookies with different purposes. From here, it could just accept it and keep using the website or open the in order to know more about this and even customize the consents.

The banner will be shown only if the user hasn't accepted yet the consents.

Required You need to have loaded the cmp compliant library in order to be able to use this component. Otherwise it won't be shown.

Installation

$ npm install @s-ui/react-cmp-banner --save

Usage

Basic usage

import CmpBanner from '@s-ui/react-cmp-banner'

return (
    <CmpBanner
      companyName="Your Company Name LTD"
      logo="https://www.schibsted.es/wp-content/themes/Schibsted-spn/img/logo.png"
      privacyUrl="#privacy-url-to-configure"
    />
)

Find full description and more examples in the demo page.

FAQs

Package last updated on 30 Aug 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc