mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
7c08d07115
Summary: Fixes all internal import statements directly referencing the `react-native` package to instead use relative paths. Changelog: [Internal] Reviewed By: christophpurrer Differential Revision: D39831223 fbshipit-source-id: 510123e5fc8f6845f96d1b55c67e0e59cb401beb
20 lines
517 B
JavaScript
20 lines
517 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* 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
|
|
*/
|
|
|
|
import type {TurboModule} from '../../TurboModule/RCTExport';
|
|
import * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';
|
|
|
|
export interface Spec extends TurboModule {
|
|
+show: () => void;
|
|
+hide: () => void;
|
|
}
|
|
|
|
export default (TurboModuleRegistry.get<Spec>('LogBox'): ?Spec);
|