react-component-creater

1.0.5 • Public • Published

react-component-creater

To use this task, we can create react component based on following config:


import React, { Component } from 'react';

class Template extends Component {

  constructor(props) {
    super(props);
  }

  render() {
    return (
      Template
    );
  }
}

Template.propTypes = {};

export default Template;

Installation

npm install -g react-component-creater

Usage

RRC -n [component-name] -d [destination director]

Parameter Description
-n the name of the component, this parameter is requires
-d the director of the component, defalut is components/

/react-component-creater/

    Package Sidebar

    Install

    npm i react-component-creater

    Weekly Downloads

    1

    Version

    1.0.5

    License

    MIT

    Last publish

    Collaborators

    • ruda