Wipro interview question

React components and API and ES6