2020-04-07 04:23:43 +03:00
|
|
|
/**
|
2021-12-31 02:08:43 +03:00
|
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
2020-04-07 04:23:43 +03:00
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*
|
|
|
|
* @flow strict
|
|
|
|
* @format
|
|
|
|
*/
|
|
|
|
|
2020-04-08 03:34:46 +03:00
|
|
|
import * as React from 'react';
|
2020-04-07 04:23:43 +03:00
|
|
|
|
2020-04-08 03:34:46 +03:00
|
|
|
type ContextType = ?string;
|
|
|
|
|
2021-11-03 08:10:46 +03:00
|
|
|
const Context: React.Context<ContextType> =
|
|
|
|
React.createContext<ContextType>(null);
|
2020-04-08 03:34:46 +03:00
|
|
|
|
2020-11-17 00:09:57 +03:00
|
|
|
if (__DEV__) {
|
|
|
|
Context.displayName = 'ImageAnalyticsTagContext';
|
|
|
|
}
|
|
|
|
|
2020-04-08 03:34:46 +03:00
|
|
|
export default Context;
|