/Spawn-React-Component

Spawn React Component creates a React component for you

Primary LanguageJavaScript

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