import React from 'react';
import ReactDOM from 'react-dom/client';
function Example() {
return (
Example Component
I'm an example component!
);
}
export default Example;
if (document.getElementById('example')) {
const Index = ReactDOM.createRoot(document.getElementById("example"));
Index.render(
)
}