React SDK
Quick example
A quick example of how to use the React SDK in a React application.
Add the MarketProvider component and add your partnerId
to the initializationConfig
prop.
App.tsx
Add the MarketModal component, set the user info and send transaction callback using the hooks. Execute open()
to open the modal.
MyPage.tsx