Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```