aboutsummaryrefslogtreecommitdiff
path: root/src/components/ToggleShifter.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ToggleShifter.tsx')
-rw-r--r--src/components/ToggleShifter.tsx14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/components/ToggleShifter.tsx b/src/components/ToggleShifter.tsx
new file mode 100644
index 0000000..4737a6f
--- /dev/null
+++ b/src/components/ToggleShifter.tsx
@@ -0,0 +1,14 @@
+import Shifter from './Shifter.tsx';
+import { useState } from "react";
+
+export default function ToggleShifter() {
+ const [isShowingShifter, setShowingShifter] = useState(false);
+
+ return (
+ <>
+ {isShowingShifter && (
+ <Shifter />
+ )}
+ </>
+ )
+}