2018-05-08 04:49:19 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
#include <fabric/core/Props.h>
|
|
|
|
#include <fabric/debug/DebugStringConvertible.h>
|
|
|
|
|
|
|
|
namespace facebook {
|
|
|
|
namespace react {
|
|
|
|
|
|
|
|
class RawTextProps;
|
|
|
|
|
|
|
|
using SharedRawTextProps = std::shared_ptr<const RawTextProps>;
|
|
|
|
|
|
|
|
class RawTextProps:
|
|
|
|
public Props {
|
|
|
|
|
|
|
|
public:
|
2018-05-14 22:43:28 +00:00
|
|
|
RawTextProps() = default;
|
|
|
|
RawTextProps(const RawTextProps &sourceProps, const RawProps &rawProps);
|
2018-05-08 04:49:19 +00:00
|
|
|
|
2018-05-14 22:43:28 +00:00
|
|
|
#pragma mark - Props
|
2018-05-08 04:49:19 +00:00
|
|
|
|
2018-06-26 18:32:57 +00:00
|
|
|
const std::string text {};
|
2018-05-08 04:49:19 +00:00
|
|
|
|
|
|
|
#pragma mark - DebugStringConvertible
|
|
|
|
|
|
|
|
SharedDebugStringConvertibleList getDebugProps() const override;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace react
|
|
|
|
} // namespace facebook
|