import React, { useEffect } from 'react'
const LoginPage = () => {
// should be same as the id of the container created on 3rd step
containerID: '<container-ID>',
// can be one of 'email' or 'phone_number_sms' or 'both_email_phone'
identifierType: 'phone_number_sms',
// Add the API key copied from 5th step
// Add a callback here to handle the payload sent by sdk
// you can use this payload for your purpose
let sawo = new Sawo(config)
<div id="sawo-container" style={{height:"300px", width:"400px"}}></div>