@mobylogix/react-component

    0.1.7 • Public • Published

    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
    
    

    Keywords

    none

    Install

    npm i @mobylogix/react-component

    DownloadsWeekly Downloads

    0

    Version

    0.1.7

    License

    MIT

    Last publish

    Collaborators

    • mobylogikas