This package automates the generation of React/RN Components in typescript.
to generate the following files:
'CSS'| 'SCSS'| 'Less'| 'Sass'| 'React Native Style'| 'Styled Components'.
yarn add @tareqdayya/react-ts-files-generator --dev
npm i @tareqdayya/react-ts-files-generator --save-dev
on the command line:
yarn gencomp
npm gencomp
You will get asked a few questions, answer them.
Boilerplate code generated :)
- If the path to the files doesn't exist, worry not––the package will create the directories for you.