Skip to content

Commit 7de2b6b

Browse files
rshestfacebook-github-bot
authored andcommitted
Support iterator-style PropParsing for AndroidTextInput
Summary: Support iterator-style PropParsing for AndroidTextInput Changelog: [Internal] Reviewed By: javache Differential Revision: D38833510 fbshipit-source-id: 4f424579a41e70fbe8c0eba430bd435dc60bfc04
1 parent 403fea2 commit 7de2b6b

File tree

5 files changed

+296
-145
lines changed

5 files changed

+296
-145
lines changed

ReactCommon/react/renderer/components/text/BaseTextProps.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,6 @@
1212
#include <react/renderer/debug/DebugStringConvertibleItem.h>
1313
#include <react/renderer/graphics/conversions.h>
1414

15-
#define REBUILD_FIELD_SWITCH_CASE( \
16-
defaults, rawValue, property, field, fieldName) \
17-
case CONSTEXPR_RAW_PROPS_KEY_HASH(fieldName): { \
18-
if (rawValue.hasValue()) { \
19-
decltype(defaults.field) res; \
20-
fromRawValue(context, rawValue, res); \
21-
property.field = res; \
22-
} else { \
23-
property.field = defaults.field; \
24-
} \
25-
return; \
26-
}
27-
2815
namespace facebook {
2916
namespace react {
3017

0 commit comments

Comments
 (0)