Skip to content

Commit 8055ee2

Browse files
authored
Add new features paragraph
1 parent 5fe2290 commit 8055ee2

1 file changed

Lines changed: 19 additions & 5 deletions

File tree

README.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
![NPM version](https://img.shields.io/npm/v/react-codegen-cli?style=flat-square&color=1e88e5)
2-
![GitHub stars](https://img.shields.io/github/stars/Cristians953/react-codegen-cli?style=flat-square&color=yellow)
3-
[![NPM total downloads](https://img.shields.io/npm/dt/react-codegen-cli.svg?style=flat-square)](https://npmcharts.com/compare/react-virtualized?minimal=true)
4-
[![NPM monthly downloads](https://img.shields.io/npm/dm/react-codegen-cli.svg?style=flat-square&color=03a9f4)](https://npmcharts.com/compare/react-virtualized?minimal=true)
5-
![NPM license](https://img.shields.io/npm/l/react-codegen-cli?style=flat-square)
1+
[![NPM version](https://img.shields.io/npm/v/react-codegen-cli?style=flat-square&color=1e88e5)](https://www.npmjs.com/package/react-codegen-cli)
2+
[![GitHub stars](https://img.shields.io/github/stars/Cristians953/react-codegen-cli?style=flat-square&color=yellow)](https://github.com/Cristians953/react-codegen-cli)
3+
[![NPM total downloads](https://img.shields.io/npm/dt/react-codegen-cli.svg?style=flat-square)](https://npmcharts.com/compare/react-codegen-cli?minimal=true)
4+
[![NPM monthly downloads](https://img.shields.io/npm/dm/react-codegen-cli.svg?style=flat-square&color=03a9f4)](https://npmcharts.com/compare/react-codegen-cli?minimal=true)
5+
[![NPM license](https://img.shields.io/npm/l/react-codegen-cli?style=flat-square)](https://www.npmjs.com/package/react-codegen-cli)
66
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square&color=66bb6a)](https://github.com/Cristians953/react-codegen-cli/issues)
77

88

@@ -18,6 +18,7 @@
1818
React CodeGen is a development tool to quickly generate React components.
1919
It helps you to speed up productivity in React projects and stop copying, pasting files.
2020
<br />
21+
<br />
2122
<a href="#get-started">Get Started</a>
2223
·
2324
<a href="https://github.com/Cristians953/react-codegen-cli/issues">Report Bug</a>
@@ -26,6 +27,19 @@
2627
</p>
2728
</p>
2829

30+
### New features 🚀⭐
31+
* Added 4 new config options:
32+
* `arrowFunction` - indicates if it should generate arrow functions instead of the regular.
33+
* `exportType` - export type to be used for modules.
34+
* `cssModules` - generate css module instead of regular style file.
35+
* `wrapFolder` - Wrap generated files in a folder.
36+
37+
* And 2 new CLI arguments:
38+
* `-d` or` --directory` - specify directory where files are created, relative to root path.
39+
* `--wrap` - does the same as the `wrapFolder` option.
40+
41+
42+
2943
## Table of Contents
3044

3145
* [Installation](#installation)

0 commit comments

Comments
 (0)