Migrate files to tsx fo fix 34 tsc errors
Note that to allow JSX to be used in ts files, the files need to have TSX extension: https://www.typescriptlang.org/docs/handbook/jsx.html
This MR :
- modifies the toolchain to allow to use tsx files
- migrates two components to full typescript fixing 34 tsc errors.
The migration to typescript was the only way to fix these errors, as the errors were due to type inferance problems with React.forwardRef.