inline-element
v1.0.1
Published
Ships a factory to convert jsx into document.createElement calls.
Downloads
13
Readme
inline-element
Set _IEFactory as your JSX factory using a module bundler like vite or esbuild.
Then, simply:
import "inline-element";
const el = <div onClick={ ()=>{} } style="color: red;">hello</div>;
document.body.appendChild(el);