mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: We need to call all custom base constructors as part of a custom constuctor of the superclass otherwise C++ will use the default one (and that's not what we want here). Changelog: [Internal] Fabric-specific internal change. Reviewed By: JoshuaGross Differential Revision: D18607654 fbshipit-source-id: 6e6154ce4b546c0717a8a67e3c497dfcd696ec41
27 lines
663 B
C++
27 lines
663 B
C++
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#include "TextProps.h"
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
TextProps::TextProps(const TextProps &sourceProps, const RawProps &rawProps)
|
|
: Props(sourceProps, rawProps),
|
|
BaseTextProps::BaseTextProps(sourceProps, rawProps){};
|
|
|
|
#pragma mark - DebugStringConvertible
|
|
|
|
#if RN_DEBUG_STRING_CONVERTIBLE
|
|
SharedDebugStringConvertibleList TextProps::getDebugProps() const {
|
|
return BaseTextProps::getDebugProps();
|
|
}
|
|
#endif
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|