@tutanck/mrc

1.0.6 • Public • Published

Mrc : Make React Component

Mrc generates simple React function components. #useHooks

Installation

npm i -g @tutanck/mrc

Usage

mrc ComponentName /path/to/subfolder


Arguments

The command takes 1 required arg and 1 optional arg :

  • componentName is required.
  • path/to/subfolder is optional
    and represents the path to the component inside the /src directory.

Examples

  • mrc FooBar

    Creates a function component 'FooBar' inside the '/src' directory.

  • mrc FooBar /components

    Creates a functional component 'FooBar' inside the 'src/components' directory.

Install

npm i @tutanck/mrc

DownloadsWeekly Downloads

1

Version

1.0.6

License

ISC

Unpacked Size

2.63 kB

Total Files

3

Last publish

Collaborators

  • tutanck