annexcloud-loyalty
v1.0.8
Published
Load Loyalty Dashboard and set points using annexcloud loyalty module.
Downloads
6
Maintainers
Readme
React Component Library
Usage
Let's say you created a public NPM package called annexcloud-loyalty
with the LoyaltyComponent
component created in this repository.
Usage of the component (after the library installed as a dependency into another project) will be:
import React from "react";
import { LoyaltyComponent } from "annexcloud-loyalty";
const App = () => (
<div className="app-container">
<h1>Hello I'm consuming the annexcloud-loyalty dashboard</h1>
<LoyaltyComponent
site_id={site_id}
email_id={email_id}
jwtAccessToken={jwtAccessToken}/>
</div>
);
export default App;
Using Component Library SASS Variables
Comming Soon.......
Additional Help
Comming Soon.......