Is it a good idea to have a single reusable modal component for handling different input configurations in React? (I’m using MUI modal component)
I’m working on a React application where I need to display modals with different input field configurations (e.g., text inputs, autocomplete inputs, custom inputs) across various parts of the application. I’m considering creating a single reusable modal component that can handle these different input configurations.