Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/excaliburjs/ludum-50. Ludum Dare 50: Beach Breach excaliburjs.com/ludum-50
Something went wrong. Try again.
123456789101112131415161718import React from "react";import * as ReactDOMClient from "react-dom/client";import { TowerPickerUI } from "./towerPickerUI";
import "./root.scss";
const container = document.getElementById("reactUI");const root = ReactDOMClient.createRoot(container);root.render( <> <TowerPickerUI ref={(TowerPickerUI) => { window.TowerPickerUI = TowerPickerUI; }} /> </>);