0.1.12 • Published 4 years ago
tc-engage v0.1.12
This project was bootstrapped with Create React App.
Design System for the TheCollective
Generating new component
We are using hygen to generate boilerplate code for new component
$ npm i -g hygen
$ npx hygen component new --name NAME [--stateful] [--functional]
Generates a React component, a storybook, and a test.
NAME The component name in kebab-case (required).
--stateful Generate a stateful component (optional).
--functional Generate a functional component (optional).
If no flags given, will generate a PureComponent.