React SDK
Use Case
The React SDK is appropriate for implementing Pinwheel in your web app.
Pinwheel requires the use of Native Mobile SDKs (iOS, Android, React Native, or Flutter) in iOS and Android apps. This ensures the best user experience and performance.
Installation
Pinwheel's React package can be installed using npm.
npm install --save @pinwheel/react-modal
Usage
Add it to your React app.
import PinwheelModal from '@pinwheel/react-modal'
const App = () => {
return <PinwheelModal linkToken={token} open={true} />
}
The open prop is a boolean to describe whether the modal is open or not.
See additional props here.
Updated 10 days ago