Pregunta de entrevista de Walmart

What is a pure component and how to create one