React SDK
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 9 months ago