Change file extension to .tsx (#59763)
Changes the file extension from `.ts` to `.tsx` in these 2 places

---------
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
Co-authored-by: Michael Novotny <manovotny@gmail.com>