sandbox/empty-ionic-react/src/index.tsx

14 lines
261 B
TypeScript
Raw Normal View History

2022-09-07 09:47:05 +00:00
import React from 'react';
import { createRoot } from 'react-dom/client';
import App from './App';
const container = document.getElementById('root');
const root = createRoot(container!);
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);