aboutsummaryrefslogtreecommitdiff
path: root/components/globalState.tsx
blob: 0ec7838a592641c45790bf90a0b6d2d3c2069927 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import React from 'react';

type globalState = {
	gameSettings: {
		timeLimit: {
			on: boolean;
			time: number;
			useForBoth: boolean;
		};
		rankedGame: boolean;
	};
};

export var GlobalStateContext = React.createContext();