1.0.22 • Published 4 years ago

@qasem.sami/rgc v1.0.22

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

��# Generate-React-Components - grc grc let you generate react components in typescript in a folder you specify and it will include .tsx, .scss, .css files using a command line ## Installation Use the package manager npm to install "@qasem.sami/rgc". bash npm install -g "@qasem.sami/rgc" ## Usage python rgc ./src/Components/Card ? Select an extension: (Use arrow keys) > tsx jsx ? stylesheets? (Use arrow keys) > scss css none This command will generate - Card.tsx (or Card.jsx) - Card.scss (if you chose scss) - Card.css (if you chose either scss or css) ## Output ### Card.tsx sh import React from 'react' import "./Card.css"; interface Props{ } const Card: React.FC<Props> = (props) => { return ( <div> <h2>Card works!</h2> </div> ) } export default Card

1.0.22

4 years ago

1.0.21

4 years ago

1.0.20

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago