diff --git a/packages/react-native/ReactAndroid/src/main/jni/react/fabric/StateWrapperImpl.h b/packages/react-native/ReactAndroid/src/main/jni/react/fabric/StateWrapperImpl.h index 0fd1de93b43..6e107180b55 100644 --- a/packages/react-native/ReactAndroid/src/main/jni/react/fabric/StateWrapperImpl.h +++ b/packages/react-native/ReactAndroid/src/main/jni/react/fabric/StateWrapperImpl.h @@ -11,12 +11,13 @@ #include #include #include +#include namespace facebook::react { class Instance; -class StateWrapperImpl : public jni::HybridClass { +class StateWrapperImpl : public jni::HybridClass { public: constexpr static const char *const kJavaDescriptor = "Lcom/facebook/react/fabric/StateWrapperImpl;"; constexpr static auto StateWrapperImplJavaDescriptor = "com/facebook/react/fabric/StateWrapperImpl"; diff --git a/packages/react-native/ReactAndroid/src/main/jni/react/uimanager/StateWrapper.h b/packages/react-native/ReactAndroid/src/main/jni/react/uimanager/StateWrapper.h new file mode 100644 index 00000000000..aae4a394bf3 --- /dev/null +++ b/packages/react-native/ReactAndroid/src/main/jni/react/uimanager/StateWrapper.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +#pragma once + +#include + +namespace facebook::react { + +class StateWrapper : public jni::HybridClass { + public: + constexpr static const char *const kJavaDescriptor = "Lcom/facebook/react/uimanager/StateWrapper;"; +}; + +} // namespace facebook::react