Migrate ReactVirtualTextShadowNode to kotlin and make it internal (#47434)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/47434

Migrate ReactVirtualTextShadowNode to kotlin and make it internal

changelog: [Android][Breaking] Reduce visibility of ReactVirtualTextShadowNode to internal

Reviewed By: shwanton

Differential Revision: D65493927

fbshipit-source-id: 2b5997d000b5dc489ba93edb226455ef0855b98b
This commit is contained in:
David Vacca authored and Facebook GitHub Bot committed 2024-11-05 21:44:38 -08:00
1 parent 4a119c4c3a
commit 496b0a8729
2 files changed
+3 -13

No files matched your search

@@ -7522,11 +7522,6 @@ public class com/facebook/react/views/text/ReactTypefaceUtils {
public static fun parseFontWeight (Ljava/lang/String;)I
}
public class com/facebook/react/views/text/ReactVirtualTextShadowNode : com/facebook/react/views/text/ReactBaseTextShadowNode {
public fun <init> ()V
public fun isVirtual ()Z
}
public class com/facebook/react/views/text/TextAttributeProps {
public static final field TA_KEY_ACCESSIBILITY_ROLE S
public static final field TA_KEY_ALIGNMENT S
@@ -5,15 +5,10 @@
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.views.text;
package com.facebook.react.views.text
/** A virtual text node. */
public class ReactVirtualTextShadowNode extends ReactBaseTextShadowNode {
internal class ReactVirtualTextShadowNode : ReactBaseTextShadowNode() {
@Override
public boolean isVirtual() {
return true;
}
public ReactVirtualTextShadowNode() {}
override fun isVirtual(): Boolean = true
}