mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 12:15:37 +08:00
more lint auto fixing
Summary: ran `find js/react-native-github/ReactCommon | xargs arc lint -a` Reviewed By: fkgozali Differential Revision: D12902865 fbshipit-source-id: 9c68c0f7e28893e76df966ad4110299e89895454
This commit is contained in:
committed by
Facebook Github Bot
parent
81e5d64bfe
commit
10d41d4225
@@ -7,16 +7,16 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <fabric/attributedstring/conversions.h>
|
||||
#include <fabric/attributedstring/primitives.h>
|
||||
#include <fabric/attributedstring/AttributedString.h>
|
||||
#include <fabric/attributedstring/ParagraphAttributes.h>
|
||||
#include <fabric/attributedstring/TextAttributes.h>
|
||||
#include <fabric/core/conversions.h>
|
||||
#include <fabric/attributedstring/conversions.h>
|
||||
#include <fabric/attributedstring/primitives.h>
|
||||
#include <fabric/core/LayoutableShadowNode.h>
|
||||
#include <fabric/core/ShadowNode.h>
|
||||
#include <fabric/graphics/conversions.h>
|
||||
#include <fabric/core/conversions.h>
|
||||
#include <fabric/graphics/Geometry.h>
|
||||
#include <fabric/graphics/conversions.h>
|
||||
#include <folly/dynamic.h>
|
||||
|
||||
namespace facebook {
|
||||
@@ -388,7 +388,8 @@ inline folly::dynamic toDynamic(
|
||||
inline folly::dynamic toDynamic(const TextAttributes &textAttributes) {
|
||||
auto _textAttributes = folly::dynamic::object();
|
||||
if (textAttributes.foregroundColor) {
|
||||
_textAttributes("foregroundColor", toDynamic(textAttributes.foregroundColor));
|
||||
_textAttributes(
|
||||
"foregroundColor", toDynamic(textAttributes.foregroundColor));
|
||||
}
|
||||
if (textAttributes.backgroundColor) {
|
||||
_textAttributes(
|
||||
|
||||
Reference in New Issue
Block a user