mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-08 18:23:13 +08:00
Differential Revision: D14186694 Original commit changeset: 062c76eea8fc fbshipit-source-id: 6d99b94d21da6df4375e342fdecceeebf05959d5
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;
|