Cognizant interview question

Destructuring props with react js