From c1a67cda96e22e0ab1625dacd5d82571bcc00390 Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Fri, 22 May 2026 08:12:48 -0700 Subject: [PATCH] Remove unreferenced ViewNativeComponentType Summary: Discovered while I try to understand the best shape for ref types. We have no other 1P component usage pattern for `React.ElementRef`, except for two now-removed fbsource instances, replaced with `React.ElementRef`. Changelog: [Internal] Differential Revision: D106093290 --- .../Libraries/Components/View/ViewNativeComponent.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/react-native/Libraries/Components/View/ViewNativeComponent.js b/packages/react-native/Libraries/Components/View/ViewNativeComponent.js index 600eee6fedb7..2a28cd4bd992 100644 --- a/packages/react-native/Libraries/Components/View/ViewNativeComponent.js +++ b/packages/react-native/Libraries/Components/View/ViewNativeComponent.js @@ -42,5 +42,3 @@ export const Commands: NativeCommands = codegenNativeCommands({ // Additional note: Our long term plan is to reduce the overhead of the // and wrappers so that we no longer have any reason to export these APIs. export default ViewNativeComponent; - -export type ViewNativeComponentType = HostComponent;