Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michalzalecki/createreactcomponent
Generate react component with separate jsx template
https://github.com/michalzalecki/createreactcomponent
Last synced: 28 days ago
JSON representation
Generate react component with separate jsx template
- Host: GitHub
- URL: https://github.com/michalzalecki/createreactcomponent
- Owner: MichalZalecki
- Created: 2015-11-04T09:28:15.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-10T21:44:39.000Z (about 9 years ago)
- Last Synced: 2024-10-25T12:38:34.454Z (3 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/create-react-component
- Size: 121 KB
- Stars: 0
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Generate React Component
```
Usage: createReactComponent [options]Options:
-h, --help output usage information
-V, --version output the version number
-s, --styles [extension] styles extension [default: css]
```## Install
```
npm i -g create-react-component
```## Example
```
create-react-component Alert -s scss
```will create
```
Alert
├── Alert.js
├── Alert.jsx
├── Alert.scss
└── index.js
```