mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Remove unreferenced ViewNativeComponentType (#56943)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/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
This commit is contained in:
1 parent
9c3fddf9cd
commit
0676eb63a2
1 file changed
-2
@@ -42,5 +42,3 @@ export const Commands: NativeCommands = codegenNativeCommands<NativeCommands>({
|
||||
// Additional note: Our long term plan is to reduce the overhead of the <Text>
|
||||
// and <View> wrappers so that we no longer have any reason to export these APIs.
|
||||
export default ViewNativeComponent;
|
||||
|
||||
export type ViewNativeComponentType = HostComponent<Props>;
|
||||
Reference in new issue
Block a user