From c1e0ea9d38fa4e1a440b212244eac8bcac87e280 Mon Sep 17 00:00:00 2001 From: Valentin Shergin Date: Sun, 17 Jun 2018 21:35:57 -0700 Subject: [PATCH] Fabric: Fixed erratum in "borderRadius" prop name Summary: Trivial. Reviewed By: mdvacca Differential Revision: D8473506 fbshipit-source-id: ce2888edc1052f39a042904c02b3ac347feedbba --- ReactCommon/fabric/view/ViewProps.cpp | 2 +- ReactCommon/fabric/view/ViewProps.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ReactCommon/fabric/view/ViewProps.cpp b/ReactCommon/fabric/view/ViewProps.cpp index 5a123f9c99d..b6d37f5f02f 100644 --- a/ReactCommon/fabric/view/ViewProps.cpp +++ b/ReactCommon/fabric/view/ViewProps.cpp @@ -25,7 +25,7 @@ ViewProps::ViewProps(const ViewProps &sourceProps, const RawProps &rawProps): foregroundColor(convertRawProp(rawProps, "foregroundColor", sourceProps.foregroundColor)), backgroundColor(convertRawProp(rawProps, "backgroundColor", sourceProps.backgroundColor)), borderWidth(convertRawProp(rawProps, "borderWidth", sourceProps.borderWidth)), - borderRadus(convertRawProp(rawProps, "borderRadus", sourceProps.borderRadus)), + borderRadius(convertRawProp(rawProps, "borderRadius", sourceProps.borderRadius)), borderColor(convertRawProp(rawProps, "borderColor", sourceProps.borderColor)), borderStyle(convertRawProp(rawProps, "borderStyle", sourceProps.borderStyle)), shadowColor(convertRawProp(rawProps, "shadowColor", sourceProps.shadowColor)), diff --git a/ReactCommon/fabric/view/ViewProps.h b/ReactCommon/fabric/view/ViewProps.h index 472966e6e70..5806f1eb320 100644 --- a/ReactCommon/fabric/view/ViewProps.h +++ b/ReactCommon/fabric/view/ViewProps.h @@ -41,7 +41,7 @@ public: // Borders const EdgeInsets borderWidth {}; - const CornerInsets borderRadus {}; + const CornerInsets borderRadius {}; const SharedColor borderColor {}; const BorderStyle borderStyle {};