import { Component } from '@angular/core';
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
export class AppComponent {
title = 'angular-sawo-chander';
// should be same as the id of the container
containerID: "sawo-container",
// can be one of 'email' or 'phone_number_sms' or 'both_email_phone'
identifierType: "phone_number_sms",
// Add a callback here to handle the payload sent by sdk
onSuccess: (payload: any) => {
this.userPayload = payload;
this.Sawo = new Sawo(sawoConfig)