Skip to content

Commit f914e8c

Browse files
JoshuaGrossroryabraham
authored andcommitted
Fix PropSetter parsing of borderRadius
Summary: Currently the PropSetter parser parses all border{TopLeft,TopRight,...}Radius props except for `borderRadius`. This is the fix. Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D38678226 fbshipit-source-id: 8c5d67a652c2b327aa50a997e8e886630fe139c0
1 parent e6df5cd commit f914e8c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ReactCommon/react/renderer/core/PropsMacros.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@
6969
CASE_STATEMENT_SET_FIELD_VALUE_INDEXED( \
7070
struct, bottomStart, prefix "BottomStart" suffix, rawValue) \
7171
CASE_STATEMENT_SET_FIELD_VALUE_INDEXED( \
72-
struct, bottomEnd, prefix "BottomEnd" suffix, rawValue)
72+
struct, bottomEnd, prefix "BottomEnd" suffix, rawValue) \
73+
CASE_STATEMENT_SET_FIELD_VALUE_INDEXED( \
74+
struct, all, prefix "" suffix, rawValue)
7375

7476
#define SET_CASCADED_RECTANGLE_EDGES(struct, prefix, suffix, rawValue) \
7577
CASE_STATEMENT_SET_FIELD_VALUE_INDEXED( \

0 commit comments

Comments
 (0)