Installation
You can install the Unify Intent React library with your preferred package manager:Usage
First, wrap your React app in aUnifyIntentProvider
:
index.tsx
UnifyIntentProvider
automatically takes care of mounting and unmounting the client
for you whenever the component mounts and unmounts. So any components rendered in your app
can freely access and use the intent client using the useUnifyIntent
hook:
Example.tsx