Integrate auth0 spa with react typescript application

I want to add auth0 login to a react typescript application. I tried the below method but it looks like there is no typescript implementation of react-auth0-spa.js. Can someone advise me what is the best way to add authentication using Auth0 for a typescript react app?

Howdy! I just found this issue. At this time, the recommendation is to use the new Auth0 React SDK to integrate Auth0 authentication with a React SPA.

You can consult these code samples to see the integration of Auth0, React, and TypeScript! :muscle: