@s-ui/react-gigya-screenset
v1.5.0
Published
> Description
Downloads
4,920
Maintainers
Keywords
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.