From 6fbfd696990e77020a3d7359fdcbc3e01de40a60 Mon Sep 17 00:00:00 2001
From: Jarred Sumner <jarred@jarredsumner.com>
Date: Sun, 20 Jun 2021 17:38:55 -0700
Subject: Rename CSS stress test

Former-commit-id: cbb6f8b1a94e504cce875f90b45416177c9ac1d3
---
 demos/css-stress-test/src/components/button.tsx | 37 +++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 demos/css-stress-test/src/components/button.tsx

(limited to 'demos/css-stress-test/src/components/button.tsx')

diff --git a/demos/css-stress-test/src/components/button.tsx b/demos/css-stress-test/src/components/button.tsx
new file mode 100644
index 000000000..3f55fae34
--- /dev/null
+++ b/demos/css-stress-test/src/components/button.tsx
@@ -0,0 +1,37 @@
+import React from "react";
+import { NewComponent } from "./new-comp";
+
+const Toast = () => {
+  const [baconyes, baconno] = useBacon();
+  return <div>false</div>;
+};
+const Button = ({ label, label2, onClick }) => {
+  const useCustomHookInsideFunction = (what, arr) => {
+    return [true, false];
+  };
+  const [on, setOn] = React.useState(false);
+
+  React.useEffect(() => {
+    console.log({ on });
+  }, [on]);
+
+  // const [foo1, foo2] = useCustomHookInsideFunction(() => {}, [on]);
+
+  return (
+    <div className="Button" onClick={onClick}>
+      <Toast>f</Toast>
+      <div className="Button-label">{label}12</div>
+      <NewComponent />
+    </div>
+  );
+};
+
+const Bacon = Button;
+
+export { Bacon, Bacon as Button };
+
+const RefreshLike = () => {};
+
+const useBacon = () => {
+  return [1, 8];
+};
-- 
cgit v1.2.3

