There are plenty of ways to do it, here's how I recommend typing React Components