spawn-react-component

1.1.0 • Public • Published

Getting Started with Spawn React Component

Spawn React Component creates a React Component in the directory you are currently in.

Installation

Run npm install -g spawn-react-component

What's new?

Added React Native component support.

How to use

To create a component,

  • Go to the directory where you want your component to reside in.
  • Run create-component
  • Follow the steps and you will get a
    • index.js
    • [component-name].js
    • styles.css

Contributing

Create a feature or fix branch based on your contribution and then create a pull request.

Upcoming features

  • Styled components
  • VS Code extension

Package Sidebar

Install

npm i spawn-react-component

Weekly Downloads

1

Version

1.1.0

License

ISC

Unpacked Size

4.67 kB

Total Files

4

Last publish

Collaborators

  • shrey2697