mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
16 lines
400 B
TypeScript
16 lines
400 B
TypeScript
import * as ReactDOM from "react-dom";
|
|
import * as React from "react";
|
|
import { IPAddresses } from "./example";
|
|
import { Covid19 } from "./covid19";
|
|
|
|
const Start = function () {
|
|
const root = document.createElement("div");
|
|
document.body.appendChild(root);
|
|
|
|
// comment out to switch between examples
|
|
// ReactDOM.render(<IPAddresses />, root);
|
|
ReactDOM.render(<Covid19 />, root);
|
|
};
|
|
|
|
Start();
|