8 lines
175 B
TypeScript
8 lines
175 B
TypeScript
import {createContext} from "react";
|
|
import type IGame from "../types/IGame.ts";
|
|
|
|
export const GamesContext = createContext<{games: IGame[]}>(
|
|
{
|
|
games: []
|
|
}
|
|
); |