diff options
Diffstat (limited to 'examples/css-stress-test/src/components/button.tsx')
-rw-r--r-- | examples/css-stress-test/src/components/button.tsx | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/examples/css-stress-test/src/components/button.tsx b/examples/css-stress-test/src/components/button.tsx deleted file mode 100644 index 7d7b6623e..000000000 --- a/examples/css-stress-test/src/components/button.tsx +++ /dev/null @@ -1,27 +0,0 @@ -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> - ); -}; |