Problem statement
so I have a plain javascript project and I have been assigned to that project to do some modifications in that application,
they want to use react component in their plain javascript application.
so I have to replace all buttons in the plain javascript application with react component (I can used material UI button ) and all card and header components also have to be replaced.
condition is no need to create new react application, use existing javascript application and do some modifications
document.getElementById('container').innerHTML= `<div>
<div id = 'button'><div>
</div>`
document.getElementById('button').innerHTML= `<button>click me</button>`;
<button>hello</button>
<div id = 'container'></div>
You can't. Material UI is a react framework.
If you just want to add material looking buttons to your vanilla application, try something like materialize.