From 8d198ee5b9d2975277ceac7314faf73b12c1f9b1 Mon Sep 17 00:00:00 2001 From: Agastya Darma Date: Thu, 27 Aug 2020 15:37:18 -0700 Subject: [PATCH] Removing unused import on RCTMultilineTextInputNativeComponent & RCTSingelineTextInputNativeComponent spec. (#29652) Summary: This pr removes unused import on RCTMultilineTextInputNativeComponent & RCTSingelineTextInputNativeComponent spec. ## Changelog [General] [Changed] - Removing unused import on RCTMultilineTextInputNativeComponent & RCTSingelineTextInputNativeComponent spec. Pull Request resolved: https://github.com/facebook/react-native/pull/29652 Test Plan: TODO Reviewed By: shergin Differential Revision: D23346830 Pulled By: sammy-SC fbshipit-source-id: 59e8cb83a6c1e987e98ba00786a4c54744012466 --- .../TextInput/RCTMultilineTextInputNativeComponent.js | 2 -- .../TextInput/RCTSingelineTextInputNativeComponent.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/Libraries/Components/TextInput/RCTMultilineTextInputNativeComponent.js b/Libraries/Components/TextInput/RCTMultilineTextInputNativeComponent.js index a0dd8841123f6d..426cc610a0cf37 100644 --- a/Libraries/Components/TextInput/RCTMultilineTextInputNativeComponent.js +++ b/Libraries/Components/TextInput/RCTMultilineTextInputNativeComponent.js @@ -13,9 +13,7 @@ import type {HostComponent} from '../../Renderer/shims/ReactNativeTypes'; import requireNativeComponent from '../../ReactNative/requireNativeComponent'; import codegenNativeCommands from '../../Utilities/codegenNativeCommands'; -import type {Int32} from '../../Types/CodegenTypes'; import type {TextInputNativeCommands} from './TextInputNativeCommands'; -import * as React from 'react'; type NativeType = HostComponent; diff --git a/Libraries/Components/TextInput/RCTSingelineTextInputNativeComponent.js b/Libraries/Components/TextInput/RCTSingelineTextInputNativeComponent.js index 8a6f85756a6af6..7255649db8579b 100644 --- a/Libraries/Components/TextInput/RCTSingelineTextInputNativeComponent.js +++ b/Libraries/Components/TextInput/RCTSingelineTextInputNativeComponent.js @@ -13,8 +13,6 @@ import type {HostComponent} from '../../Renderer/shims/ReactNativeTypes'; import requireNativeComponent from '../../ReactNative/requireNativeComponent'; import codegenNativeCommands from '../../Utilities/codegenNativeCommands'; -import type {Int32} from '../../Types/CodegenTypes'; -import * as React from 'react'; import type {TextInputNativeCommands} from './TextInputNativeCommands'; import RCTSinglelineTextInputViewConfig from './RCTSinglelineTextInputViewConfig'; const ReactNativeViewConfigRegistry = require('../../Renderer/shims/ReactNativeViewConfigRegistry');