amis-rpc-design/node_modules/react-native/ReactCommon/react/renderer/components/text/ParagraphState.cpp
2023-10-07 19:42:30 +08:00

26 lines
584 B
C++

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ParagraphState.h"
#include <react/renderer/components/text/conversions.h>
#include <react/renderer/debug/debugStringConvertibleUtils.h>
namespace facebook::react {
#ifdef ANDROID
folly::dynamic ParagraphState::getDynamic() const {
return toDynamic(*this);
}
MapBuffer ParagraphState::getMapBuffer() const {
return toMapBuffer(*this);
}
#endif
} // namespace facebook::react