Articulate Global interview question

I was asked to create a React component