aboutsummaryrefslogtreecommitdiff
path: root/examples/macros/components/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/macros/components/index.tsx')
-rw-r--r--examples/macros/components/index.tsx11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/macros/components/index.tsx b/examples/macros/components/index.tsx
new file mode 100644
index 000000000..6c3e39be7
--- /dev/null
+++ b/examples/macros/components/index.tsx
@@ -0,0 +1,11 @@
+import * as ReactDOM from "react-dom";
+import * as React from "react";
+import { IPAddresses } from "./example";
+
+const Start = function () {
+ const root = document.createElement("div");
+ document.body.appendChild(root);
+ ReactDOM.render(<IPAddresses />, root);
+};
+
+Start();