Can't use .tsx extension for react components

I can’t use typescript for react components. see more below