1.5.0 • Published 2 years ago

@s-ui/react-gigya-screenset v1.5.0

Weekly downloads
146
License
MIT
Repository
-
Last release
2 years ago

GigyaScreenset

Description

Injects a Gigya Screenset (Widget) into a container

Installation

$ npm install @s-ui/react-gigya-screenset --save

Usage

Basic usage

import GigyaScreenset from '@s-ui/react-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.