UNPKG

251 BTypeScriptView Raw
1import * as React from 'react';
2
3export type ServerContextType = {
4 location?: {
5 pathname: string;
6 search: string;
7 };
8};
9
10const ServerContext =
11 React.createContext<ServerContextType | undefined>(undefined);
12
13export default ServerContext;