diff options
Diffstat (limited to 'src/components/ToggleShifter.tsx')
| -rw-r--r-- | src/components/ToggleShifter.tsx | 14 |
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 /> + )} + </> + ) +} |
