1.28.0 • Published 4 years ago

@schibstedspain/react-cmp-modal v1.28.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

CmpModal

This component shows a Modal to let the user know about the consents, purposes and vendors that will use cookies in the platform to give different services. The modal connects with a cmp library in order to show all the data and let the user customize it, when possible.

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-modal --save

Usage

Basic usage

import CmpModal from '@s-ui/react-cmp-modal'

return (
  <CmpModal
    onExit={() => { alert('User accepted everything, he wants to exit')}}
    retrieveConsentsFromCmp
    logo="https://www.website.com/img/logo.png"
    privacyUrl='https://www.website.com/privacy-url'
  />
)

Find full description and more examples in the demo page.

1.28.0

4 years ago

1.27.0

4 years ago

1.26.0

4 years ago

1.25.0

4 years ago

1.24.0

5 years ago

1.23.0

5 years ago

1.22.0

5 years ago

1.21.0

5 years ago

1.20.0

5 years ago

1.19.0

5 years ago

1.18.0

5 years ago

1.17.0

5 years ago

1.16.0

5 years ago

1.15.0

5 years ago

1.14.0

5 years ago

1.13.0

5 years ago

1.12.0

5 years ago

1.11.0

6 years ago

1.10.0

6 years ago

1.9.0

6 years ago

1.8.0

6 years ago

1.7.0

6 years ago

1.6.0

6 years ago

1.5.0

6 years ago

1.4.0

6 years ago