From 9e3e9a2d6da9f33f2cfcdb10254f5ef37955019c Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Wed, 13 Oct 2021 00:28:20 -0700 Subject: Clean up examples a little --- examples/react/src/App.jsx | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 examples/react/src/App.jsx (limited to 'examples/react/src/App.jsx') diff --git a/examples/react/src/App.jsx b/examples/react/src/App.jsx new file mode 100644 index 000000000..a675d389d --- /dev/null +++ b/examples/react/src/App.jsx @@ -0,0 +1,25 @@ +import logo from "./logo.svg"; +import * as React from "react"; +import "./App.css"; + +function App() { + const ms = Date.now() - parseInt(window.location.search.substring(1), 10); + return ( +
+
+ logo +

Loaded in {ms}ms.

+ + Learn React + +
+
+ ); +} + +export default App; -- cgit v1.2.3