aboutsummaryrefslogtreecommitdiff
path: root/examples/macros/components/index.tsx
blob: 4dfc3c6c377900d962d2d4487beaa1159433a55b (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();