mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08:00
Revert D14554656: [Fabric][C++] Fix parsing of flex-wrap='nowrap'
Differential Revision: D14554656 Original commit changeset: 259b2cdaf204 fbshipit-source-id: 3bca12f204ff7be85c4901eb01894935e7857d75
This commit is contained in:
committed by
Facebook Github Bot
parent
66e04347d1
commit
146b2839f5
@@ -253,7 +253,7 @@ inline void fromRawValue(const RawValue &value, YGPositionType &result) {
|
||||
inline void fromRawValue(const RawValue &value, YGWrap &result) {
|
||||
assert(value.hasType<std::string>());
|
||||
auto stringValue = (std::string)value;
|
||||
if (stringValue == "nowrap") {
|
||||
if (stringValue == "no-wrap") {
|
||||
result = YGWrapNoWrap;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user