1.0.0 • Published 9 years ago
react-package-template v1.0.0
React Package Template
This is basic initial react component template, if you want to build a new react component that you or others can consume (import/require) via npm registery for example - you can build the component (inside src) and publish it to npm.
How To Use
- Install with
npm install my-component-name --save. - Import to your "js" file:
import Input from 'my-component-name';. - In your code, use like that:
<MyComponentName onChange={this.test}/>. - See
example/basic.jsas reference.
Features
Todo
Bugs
Screenshot

How to Contribute
- Fork the project (top right button, in github UI).
- Clone the forked repository to your machine.
- Run
npm install. - Run
npm start(or betternpm run demonin case you havenodemon, otherwise runnpm install nodemon -g). - Create a new branch.
- Go to
http://localhost:3334/. - Write your code, commit and push to your own forked repository in the new branch.
- Open a PR and wait for someone to review and merge to master.
1.0.0
9 years ago