React Typescript Loop Through Array