@pinwheel/react-modal
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

@pinwheel/react-modal

React package for Pinwheel modal

NPM JavaScript Style Guide

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}
  />
}

All available React props are listed here.

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

# Build the @pinwheel/react-modal package
npm i
npm run build
# Run the example app
cd example
npm i
npm start
# Go to localhost:9000?token=<PASTE YOUR GENERATED TOKEN HERE>

License

MIT © Pinwheel React Modal is available under the MIT license. See the LICENSE file for more info.

Readme

Keywords

none

Package Sidebar

Install

npm i @pinwheel/react-modal

Weekly Downloads

1,392

Version

3.0.0

License

MIT

Unpacked Size

26.2 kB

Total Files

10

Last publish

Collaborators

  • samuel.mccaffrey
  • abbyw
  • gregschotte
  • allengao-pinwheel
  • noah.lindner.pinwheel
  • k3jiang
  • devdemetri
  • larenaiocco
  • yichisa
  • davidwhitepinwheel
  • violatido
  • colerutledge
  • brett-pinwheel
  • anthony.wong.pinwheel
  • p_l_e_e
  • cespiering
  • josh-pinwheel
  • jeffhudesman
  • joeyviolacode
  • stevendiaspinwheelapi
  • sambieler
  • richardpinwheel
  • maltur
  • donaldryung
  • terren_pinwheel
  • amudan-pinwheel
  • stevekekacs
  • roscioli
  • jose-pinwheel
  • benfoster22
  • pinwheel-npm
  • carolinee
  • pelzhaus
  • chenjr95
  • steven-pinwheel
  • josephperry
  • pinwheel-matthew