prototype-controls
Control aspects of your prototype within the prototype itself.
Bootstrapped with create-react-app-minimal.
Getting started
Using
To activate the controls, simply press Ctrl + =. Press the same combination to close them.
Installing
npm install prototype-controls
Importing
React
Import PrototypeControls directly and use it as a React wrapper component.
this this <div> <div> <label>Enter your name</label> <input type="text" onChange=thishandleNameChange value=thisstatename /> </div> <PrototypeControls> <button onChange=thishandleFillInNameClick>Fill in name</button> </PrototypeControls> </div>
Contributing
You're welcome to fork and/or contribute pull-requests and issues to the project.
Cloning and installing
git clone https://github.com/jonathanconway/prototype-controlscd prototype-controlsnpm install
Running examples
npm start
Running tests
npm test