Understanding "JSX element type does not have any construct or call signatures" in React and TypeScript | CodeTrail