gia-onboarding-sdk
v0.1.4
Published
Onboarding SDK for GIA
Downloads
4
Maintainers
Readme
GIA Onboarding SDK
Installation
npm i gia-onboarding-sdk
OR
yarn add gia-onboarding-sdk
Usage
Import and use the OnboardingFlow
component in your React application:
import React from "react";
import OnboardingFlow from "gia-onboarding-sdk";
function App() {
return (
<div className="App">
<OnboardingFlow
onClose={() => {
console.log("onClose");
}}
publicKey="pb_sample_aoyAk1cd8bbqCV7Qb1ElQInkmjgemNy1uXygpW0sW1g"
/>
</div>
);
}
export default App;
Props
onClose
: Function to be called when the onboarding flow is closed.publicKey
: Your GIA public key.