flexWrap should be kebab-case inside inline-style (#761)

Summary:
Inside css inline style, it should be spelled as `flex-wrap`.
Pull Request resolved: https://github.com/facebook/yoga/pull/761

Reviewed By: davidaurelio

Differential Revision: D14100508

Pulled By: SidharthGuglani

fbshipit-source-id: 65ebc984d959555107d58ad16ca27b2b8b4d0874
This commit is contained in:
Yuichi ONO
2019-02-19 04:51:48 -08:00
committed by Facebook Github Bot
parent f0324035bf
commit 446101a168

View File

@@ -169,7 +169,7 @@ void YGNodeToString(
if (node->getStyle().flexWrap != YGNode().getStyle().flexWrap) {
appendFormatedString(
str, "flexWrap: %s; ", YGWrapToString(node->getStyle().flexWrap));
str, "flex-wrap: %s; ", YGWrapToString(node->getStyle().flexWrap));
}
if (node->getStyle().overflow != YGNode().getStyle().overflow) {