aboutsummaryrefslogtreecommitdiff
path: root/examples/macros/components/index.tsx
blob: f5d0ffe0f8a9f2c6946b42bc8392c3af221d4f90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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();