A simple demo of a Schematic which generates a React component.
- Build the Schematic via
npm run build - Run the Schematic via
npm run gen -- --path=<RELATIVE_PATH> --name=<NAME>
path(required) - relative; where the component is created/generatedname(required) - name of the component; will be converted to Pascal case automaticallyclassName- specifies a custom class name for the main element of the componentfunctional- if set totrue, the generator will create a functional component instead of a class-based onepure- whether the generated component must be aPureComponentor not