Skip to content

Commit dacbbaf

Browse files
mdvaccafacebook-github-bot
authored andcommitted
Delete ReactTextInputShadowNode (#53950)
Summary: ReactTextInputShadowNode is part of legacy architecture and unused, let's delete it changelog: [internal] internal Reviewed By: javache Differential Revision: D83192671
1 parent 773619d commit dacbbaf

File tree

2 files changed

+0
-238
lines changed

2 files changed

+0
-238
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.kt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ import com.facebook.react.views.scroll.ScrollEventType.Companion.getJSEventName
6666
import com.facebook.react.views.text.DefaultStyleValuesUtil.getDefaultTextColor
6767
import com.facebook.react.views.text.DefaultStyleValuesUtil.getDefaultTextColorHighlight
6868
import com.facebook.react.views.text.DefaultStyleValuesUtil.getDefaultTextColorHint
69-
import com.facebook.react.views.text.ReactBaseTextShadowNode
7069
import com.facebook.react.views.text.ReactTextUpdate
7170
import com.facebook.react.views.text.ReactTextUpdate.Companion.buildReactTextUpdateFromState
7271
import com.facebook.react.views.text.ReactTextViewManagerCallback
@@ -101,15 +100,6 @@ public open class ReactTextInputManager public constructor() :
101100
return editText
102101
}
103102

104-
override fun createShadowNodeInstance(): ReactBaseTextShadowNode = ReactTextInputShadowNode()
105-
106-
public fun createShadowNodeInstance(
107-
reactTextViewManagerCallback: ReactTextViewManagerCallback?
108-
): ReactBaseTextShadowNode = ReactTextInputShadowNode(reactTextViewManagerCallback)
109-
110-
override fun getShadowNodeClass(): Class<out LayoutShadowNode> =
111-
ReactTextInputShadowNode::class.java
112-
113103
override fun getExportedCustomBubblingEventTypeConstants(): Map<String, Any> {
114104
val baseEventTypeConstants = super.getExportedCustomBubblingEventTypeConstants()
115105
val eventTypeConstants = baseEventTypeConstants ?: mutableMapOf()

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputShadowNode.kt

Lines changed: 0 additions & 228 deletions
This file was deleted.

0 commit comments

Comments
 (0)