aboutsummaryrefslogtreecommitdiff
path: root/demos/simple-react/src/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'demos/simple-react/src/index.tsx')
-rw-r--r--demos/simple-react/src/index.tsx11
1 files changed, 9 insertions, 2 deletions
diff --git a/demos/simple-react/src/index.tsx b/demos/simple-react/src/index.tsx
index c0f0ec181..369a9a710 100644
--- a/demos/simple-react/src/index.tsx
+++ b/demos/simple-react/src/index.tsx
@@ -1,11 +1,18 @@
import ReactDOM from "react-dom";
import { Button } from "./components/button";
+import * as Bootstrap from "react-bootstrap";
+import * as leftPad from "left-pad";
+import { DatePicker } from "antd";
const Base = ({}) => {
+ Bootstrap.Accordion;
return (
<main>
<h1>I am the page</h1>
- <h3>Here is some text</h3>
+ <h3 className="bacon">Here is some text</h3>
+ <>Fragmen!t</>
+ <DatePicker />
+
<Button
label="Do not click."
onClick={() => alert("I told u not to click!")}
@@ -15,7 +22,7 @@ const Base = ({}) => {
};
function startReact() {
- ReactDOM.render(() => <Base />, document.querySelector("#reactroot"));
+ ReactDOM.render(<Base />, document.querySelector("#reactroot"));
}
globalThis.addEventListener("DOMContentLoaded", () => {