diff --git a/ReactCommon/fabric/components/view/yoga/YogaStylableProps.h b/ReactCommon/fabric/components/view/yoga/YogaStylableProps.h index 5c29848cbe4..f9f13bdc6d2 100644 --- a/ReactCommon/fabric/components/view/yoga/YogaStylableProps.h +++ b/ReactCommon/fabric/components/view/yoga/YogaStylableProps.h @@ -25,15 +25,12 @@ class YogaStylableProps { #pragma mark - Props - protected: - friend class YogaLayoutableShadowNode; - YGStyle const yogaStyle{}; + YGStyle yogaStyle{}; #if RN_DEBUG_STRING_CONVERTIBLE #pragma mark - DebugStringConvertible (Partial) - public: SharedDebugStringConvertibleList getDebugProps() const; #endif