mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
60640485e1
Reviewed By: sahrens Differential Revision: D14167646 fbshipit-source-id: 3f8dd27ba1c8866471e2af493c4cc0bc84706042
21 lines
549 B
JavaScript
21 lines
549 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
* @format
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
import * as React from 'react';
|
|
import GlobalPerformanceLogger from 'GlobalPerformanceLogger';
|
|
import type {IPerformanceLogger} from 'createPerformanceLogger';
|
|
|
|
const PerformanceLoggerContext: React.Context<
|
|
IPerformanceLogger,
|
|
> = React.createContext(GlobalPerformanceLogger);
|
|
export default PerformanceLoggerContext;
|