From 5d0056b6e8cc7f442558cc26f2a22cd6a34fc51e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Thu, 28 Mar 2024 08:06:41 -0700 Subject: [PATCH] Move IntersectionObserver native module to common directory (#43672) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43672 Changelog: [internal] Small cleanup to move the last C++ native module defined in a JS directory to the new directory in `react-native/ReactCommon/react/nativemodule`. Reviewed By: javache Differential Revision: D55384106 fbshipit-source-id: 3bf477c2aceab6838f7f8131174b6eb74e890a23 --- .../intersectionobserver}/NativeIntersectionObserver.cpp | 0 .../intersectionobserver}/NativeIntersectionObserver.h | 1 - 2 files changed, 1 deletion(-) rename packages/react-native/{Libraries/IntersectionObserver => ReactCommon/react/nativemodule/intersectionobserver}/NativeIntersectionObserver.cpp (100%) rename packages/react-native/{Libraries/IntersectionObserver => ReactCommon/react/nativemodule/intersectionobserver}/NativeIntersectionObserver.h (99%) diff --git a/packages/react-native/Libraries/IntersectionObserver/NativeIntersectionObserver.cpp b/packages/react-native/ReactCommon/react/nativemodule/intersectionobserver/NativeIntersectionObserver.cpp similarity index 100% rename from packages/react-native/Libraries/IntersectionObserver/NativeIntersectionObserver.cpp rename to packages/react-native/ReactCommon/react/nativemodule/intersectionobserver/NativeIntersectionObserver.cpp diff --git a/packages/react-native/Libraries/IntersectionObserver/NativeIntersectionObserver.h b/packages/react-native/ReactCommon/react/nativemodule/intersectionobserver/NativeIntersectionObserver.h similarity index 99% rename from packages/react-native/Libraries/IntersectionObserver/NativeIntersectionObserver.h rename to packages/react-native/ReactCommon/react/nativemodule/intersectionobserver/NativeIntersectionObserver.h index f35ce7cd758..9649cefc10a 100644 --- a/packages/react-native/Libraries/IntersectionObserver/NativeIntersectionObserver.h +++ b/packages/react-native/ReactCommon/react/nativemodule/intersectionobserver/NativeIntersectionObserver.h @@ -10,7 +10,6 @@ #include #include #include -#include #include #include