Delete ReactVirtualTextShadowNode (#53948)

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

ReactVirtualTextShadowNode is par of legacy architecture and unused, let's delete it

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D83187955

fbshipit-source-id: d8bd0aa9cece68c7b4a4d5674ce97a8ef43a7fc5
This commit is contained in:
David Vacca authored and Facebook GitHub Bot committed 2025-09-26 14:07:25 -07:00
1 parent 163d553ba2
commit 8386a9e4f1
1 file changed
-34
@@ -1,34 +0,0 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
@file:Suppress("DEPRECATION")
package com.facebook.react.views.text
import com.facebook.react.common.annotations.internal.LegacyArchitecture
import com.facebook.react.common.annotations.internal.LegacyArchitectureLogLevel
import com.facebook.react.common.annotations.internal.LegacyArchitectureLogger
/** A virtual text node. */
@LegacyArchitecture(logLevel = LegacyArchitectureLogLevel.ERROR)
@Deprecated(
message = "This class is part of Legacy Architecture and will be removed in a future release",
level = DeprecationLevel.WARNING,
)
internal class ReactVirtualTextShadowNode : ReactBaseTextShadowNode() {
override fun isVirtual(): Boolean = true
internal companion object {
init {
LegacyArchitectureLogger.assertLegacyArchitecture(
"ReactVirtualTextShadowNode",
LegacyArchitectureLogLevel.ERROR,
)
}
}
}