Pregunta de entrevista de Morning

How would you build a generic form component