diff --git a/ReactCommon/fabric/core/shadownode/Props.cpp b/ReactCommon/fabric/core/shadownode/Props.cpp index f70632d4746..38ba1edee50 100644 --- a/ReactCommon/fabric/core/shadownode/Props.cpp +++ b/ReactCommon/fabric/core/shadownode/Props.cpp @@ -14,7 +14,11 @@ namespace facebook { namespace react { Props::Props(const Props &sourceProps, const RawProps &rawProps): - nativeId(convertRawProp(rawProps, "nativeID", sourceProps.nativeId)) {}; + nativeId(convertRawProp(rawProps, "nativeID", sourceProps.nativeId)) + #ifdef ANDROID + ,rawProps(rawProps) + #endif + {}; } // namespace react } // namespace facebook diff --git a/ReactCommon/fabric/core/shadownode/Props.h b/ReactCommon/fabric/core/shadownode/Props.h index 1e349020a97..2ce538bc67f 100644 --- a/ReactCommon/fabric/core/shadownode/Props.h +++ b/ReactCommon/fabric/core/shadownode/Props.h @@ -32,6 +32,9 @@ public: Props(const Props &sourceProps, const RawProps &rawProps); const std::string nativeId; + #ifdef ANDROID + const RawProps rawProps; + #endif }; } // namespace react