@schibstedspain/sui-gigya-screenset

1.2.0 • Public • Published

GigyaScreenset

Description

Injects a Gigya Screenset (Widget) into a container

Installation

$ npm install @schibstedspain/sui-gigya-screenset --save

Usage

Basic usage

import GigyaScreenset from '@schibstedspain/sui-gigya-screenset'

const screenSetOptions = {
  lang: 'es',
  deviceType: 'auto',
  screenSet: 'Default-RegistrationLogin',
  startScreen: 'Default-Login',
  containerID: 'gigya-login',
  onError: console.log,
  onAfterSubmit: console.log
}

return (<GigyaScreenset screenSetOptions={screenSetOptions} />)

To see the definition of screenSetOptions check Gigya documentation

Find full description and more examples in the demo page.

Readme

Keywords

none

Package Sidebar

Install

npm i @schibstedspain/sui-gigya-screenset

Weekly Downloads

0

Version

1.2.0

License

MIT

Unpacked Size

3.05 kB

Total Files

7

Last publish

Collaborators

  • schibstedspain