12 lines
253 B
TypeScript
12 lines
253 B
TypeScript
import React from 'react';
|
|
|
|
import { createRoot } from 'react-dom/client';
|
|
|
|
import ImageBuilder from './AppEntry';
|
|
|
|
const root = document.getElementById('root');
|
|
|
|
if (root) {
|
|
const reactRoot = createRoot(root);
|
|
reactRoot.render(<ImageBuilder />);
|
|
}
|