Amazon interview question

Q: Show us how you would build out this react component