Infosys Interview Question

react components and types of it