@pinwheel/react-modal
React package for Pinwheel modal
Install
npm install --save @pinwheel/react-modal
Usage
import PinwheelModal from '@pinwheel/react-modal'
const App = () => {
return <PinwheelModal
open={true}
linkToken={token}
onEvent={console.log}
/>
}
Please consult our docs for more information.
Quick Start
You may want to explore the usage of the modal locally.
Start by going to the developer dashboard to create a token. Copy the token string. Then
cd example
npm i
npm start
# Go to localhost:3000?token=<PASTE YOUR GENERATED TOKEN HERE>
`
## License
MIT ©
Pinwheel React Modal is available under the MIT license. See the LICENSE file for more info.