mirror of
https://github.com/facebook/react.git
synced 2026-02-27 03:07:57 +00:00
14 lines
361 B
JavaScript
14 lines
361 B
JavaScript
// @flow
|
|
|
|
import { createContext } from 'react';
|
|
|
|
import type { Bridge } from '../../types';
|
|
|
|
import Store from '../store';
|
|
|
|
export const BridgeContext = createContext<Bridge>(((null: any): Bridge));
|
|
BridgeContext.displayName = 'BridgeContext';
|
|
|
|
export const StoreContext = createContext<Store>(((null: any): Store));
|
|
StoreContext.displayName = 'StoreContext';
|