mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
RN: Change Internal Imports to Relative Paths
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
This commit is contained in:
committed by
Facebook GitHub Bot
parent
908571de2f
commit
7c08d07115
@@ -8,17 +8,17 @@
|
||||
* @flow strict-local
|
||||
*/
|
||||
|
||||
import type {ViewProps} from 'react-native/Libraries/Components/View/ViewPropTypes';
|
||||
import type {ColorValue} from 'react-native/Libraries/StyleSheet/StyleSheet';
|
||||
import type {ViewProps} from '../View/ViewPropTypes';
|
||||
import type {ColorValue} from '../../StyleSheet/StyleSheet';
|
||||
import type {
|
||||
WithDefault,
|
||||
DirectEventHandler,
|
||||
Int32,
|
||||
Float,
|
||||
} from 'react-native/Libraries/Types/CodegenTypes';
|
||||
import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';
|
||||
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
||||
import type {HostComponent} from 'react-native/Libraries/Renderer/shims/ReactNativeTypes';
|
||||
} from '../../Types/CodegenTypes';
|
||||
import codegenNativeCommands from '../../Utilities/codegenNativeCommands';
|
||||
import codegenNativeComponent from '../../Utilities/codegenNativeComponent';
|
||||
import type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';
|
||||
import * as React from 'react';
|
||||
|
||||
type DrawerStateEvent = $ReadOnly<{|
|
||||
|
||||
Reference in New Issue
Block a user