@theproindia/react-progamification
v2.1.7
Published
Ultimate Gamification for your React app.
Downloads
2
Readme
react-progamification
Install Package
Run npm i @stagetheproindia/pro-gamification
to install package.
LeaderBoard Usage
call <ProGamification
userId={env.userId}
applicationId={env.applicationId}
clientId={env.clientId}
clientSecret={env.clientSecret}
/>
,a functional componenet to generate leaderboard.
Usage of updateGameAction service
call updateGameAction(env.userId, env.gameAction, "", "");
on any action in your app.pass appropriate parameters