import { createContext } from 'react';
import { Screens } from 'models/screens';
import { ScreensById } from 'models/screen.types';

const ScreenContext = createContext<{
  screenId: null | number;
  screens: Screens;
  screensById: ScreensById;
}>({
  screenId: null,
  screens: [],
  screensById: {}
});

export { ScreenContext };
