React Typescript Property Does Not Exist On Type Component