@s-ui/react-gigya-screenset

> Description

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@s-ui/react-gigya-screenset
1.5.05 months ago3 years agoMinified + gzip package size for @s-ui/react-gigya-screenset in KB

Readme

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.