Convert require to import in Libraries/Components

Summary:
Changelog:
[General][Changed] Convert require statements to use import from in Libraries/Components

Reviewed By: lunaleaps

Differential Revision: D27921557

fbshipit-source-id: 3f1618455a47a56c4a090f3ececfef88476c0b8a
This commit is contained in:
Kacie Bawiec
2021-04-26 12:49:37 -07:00
committed by Facebook GitHub Bot
parent ca3aae7980
commit 0afd71a18d
33 changed files with 123 additions and 131 deletions
@@ -18,8 +18,11 @@ import type {
WithDefault,
} from '../../Types/CodegenTypes';
import type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';
import type {TextStyleProp, ViewStyleProp} from '../../StyleSheet/StyleSheet';
import type {ColorValue} from '../../StyleSheet/StyleSheet';
import type {
TextStyleProp,
ViewStyleProp,
ColorValue,
} from '../../StyleSheet/StyleSheet';
import requireNativeComponent from '../../ReactNative/requireNativeComponent';
import codegenNativeCommands from '../../Utilities/codegenNativeCommands';
import type {TextInputNativeCommands} from './TextInputNativeCommands';