API Reference

@frontend-sdk/yotpo - v0.24.2

Functions

useYotpoLoyalty

useYotpoLoyalty(guid, loadingThreshold?, loadingInterval?): Object

Parameters

NameType
guidstring
loadingThresholdnumber
loadingIntervalnumber

Returns

Object

NameType
errorundefined | Error
loadingboolean
yotpoLoyaltyundefined | YotpoLoyalty

useYotpoReviews

useYotpoReviews(appKey): void

Parameters

NameType
appKeystring

Returns

void


useYotpoReviewsRefresh

useYotpoReviewsRefresh(): void

Returns

void


Did this page help you?