File tree Expand file tree Collapse file tree
packages/react-native/ReactAndroid/src/main/jni/react Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111#include < react/common/mapbuffer/JReadableMapBuffer.h>
1212#include < react/jni/ReadableNativeMap.h>
1313#include < react/renderer/core/State.h>
14+ #include < react/uimanager/StateWrapper.h>
1415
1516namespace facebook ::react {
1617
1718class Instance ;
1819
19- class StateWrapperImpl : public jni ::HybridClass<StateWrapperImpl> {
20+ class StateWrapperImpl : public jni ::HybridClass<StateWrapperImpl, StateWrapper > {
2021 public:
2122 constexpr static const char *const kJavaDescriptor = " Lcom/facebook/react/fabric/StateWrapperImpl;" ;
2223 constexpr static auto StateWrapperImplJavaDescriptor = " com/facebook/react/fabric/StateWrapperImpl" ;
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3+ *
4+ * This source code is licensed under the MIT license found in the
5+ * LICENSE file in the root directory of this source tree.
6+ */
7+
8+ #pragma once
9+
10+ #include < fbjni/fbjni.h>
11+
12+ namespace facebook ::react {
13+
14+ class StateWrapper : public jni ::HybridClass<StateWrapper> {
15+ public:
16+ constexpr static const char *const kJavaDescriptor = " Lcom/facebook/react/uimanager/StateWrapper;" ;
17+ };
18+
19+ } // namespace facebook::react
You can’t perform that action at this time.
0 commit comments