@mobylogix/react-component

Generate react component

Stats

StarsIssuesVersionUpdatedCreatedSize
@mobylogix/react-component
200.1.74 years ago4 years agoMinified + gzip package size for @mobylogix/react-component in KB

Readme

Generate React Component

Usage: react-component <name> [options]

  Options:

    -h, --help                output usage information
    -V, --version             output the version number
    -s, --styles [extension]  styles extension [default: css]
    -e, --ext [extension]  file extension [default: js]
    -p, --pure [extension], generate react PureComponent [default: Component]
    -d, --dir [extension], generate directory structure

Install

npm i -g @mobylogix/react-component

Example

react-component Alert -e jsx -s scss -p -d

will create

Alert
├── Alert.jsx
├── alert.scss

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.