Skip to content

Commit c1a67cd

Browse files
huntiefacebook-github-bot
authored andcommitted
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<ViewNativeComponentType>`, except for two now-removed fbsource instances, replaced with `React.ElementRef<typeof View>`. Changelog: [Internal] Differential Revision: D106093290
1 parent b496612 commit c1a67cd

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)