There isn't really enough of a UI to justify the footprint of a material UI dependency, and it's awkward to compose it into apps that don't themselves use Material UI.
To make this really usable, consider using pure HTML, and allowing a className to be passed in per field to add styles. Alternatively, you could allow field elements to be passed in as props and composed, using React.createElement to add listeners.
There isn't really enough of a UI to justify the footprint of a material UI dependency, and it's awkward to compose it into apps that don't themselves use Material UI.
To make this really usable, consider using pure HTML, and allowing a
classNameto be passed in per field to add styles. Alternatively, you could allow field elements to be passed in as props and composed, usingReact.createElementto add listeners.