devii
devii copied to clipboard
Replace React.FC and React.FunctionComponent with pure functions and add Prettier
- Replace React.FC and React.FunctionComponent with pure functions read more here: https://github.com/typescript-cheatsheets/react#function-components
- added and refactored code with prettier for consistent formatting read more here: https://prettier.io/docs/en/index.html