Spawn React Component creates a React Component in the directory you are currently in.
Run npm install -g spawn-react-component
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
Create a feature
or fix
branch based on your contribution and then create a pull request.
- Styled components
- VS Code extension