Skip to content

Commit 0676eb6

Browse files
huntiemeta-codesync[bot]
authored andcommitted
Remove unreferenced ViewNativeComponentType (#56943)
Summary: Pull Request resolved: #56943 Discovered while I try to understand the best shape for ref types. We have no other 1P component usage pattern for `React.ElementRef<ViewNativeComponentType>`, except for two now-removed fbsource instances, replaced with `React.ElementRef<typeof View>`. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D106093290 fbshipit-source-id: de98816b099c0e65daa40564fd41a1f60b8b3b3a
1 parent 9c3fddf commit 0676eb6

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

packages/react-native/Libraries/Components/View/ViewNativeComponent.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,3 @@ export const Commands: NativeCommands = codegenNativeCommands<NativeCommands>({
4242
// Additional note: Our long term plan is to reduce the overhead of the <Text>
4343
// and <View> wrappers so that we no longer have any reason to export these APIs.
4444
export default ViewNativeComponent;
45-
46-
export type ViewNativeComponentType = HostComponent<Props>;

0 commit comments

Comments
 (0)