import { createContext, useContext } from 'react';
import { SystemContextProps } from './system.interface';

export const SystemContext: any = createContext<SystemContextProps | null>(
  null,
);
export const useSystemContext: any = () => useContext(SystemContext);
