Micro1 Interview Question

How would you use react to create dynamic reusable components that can handle different input fields in a form?