THG interview question

What is a React Component?