aboutsummaryrefslogtreecommitdiff
path: root/components/globalState.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/globalState.tsx')
-rw-r--r--components/globalState.tsx14
1 files changed, 14 insertions, 0 deletions
diff --git a/components/globalState.tsx b/components/globalState.tsx
new file mode 100644
index 0000000..bf6ee40
--- /dev/null
+++ b/components/globalState.tsx
@@ -0,0 +1,14 @@
+import React from 'react';
+
+type globalState = {
+ gameSettings: {
+ timeLimit: {
+ on: boolean;
+ time: Number;
+ useForBoth: boolean;
+ }
+ rankedGame: boolean;
+ }
+}
+
+export var GlobalStateContext = React.createContext();