1.2.0 • Published 5 years ago

@schibstedspain/sui-gigya-screenset v1.2.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

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.