2018-03-18 19:04:10 -07:00
|
|
|
/**
|
2018-09-11 15:27:47 -07:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2018-03-18 19:04:10 -07:00
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "Props.h"
|
|
|
|
|
2018-04-26 17:51:59 -07:00
|
|
|
#include <fabric/core/propsConversions.h>
|
2018-03-18 19:04:10 -07:00
|
|
|
#include <folly/dynamic.h>
|
|
|
|
|
|
|
|
namespace facebook {
|
|
|
|
namespace react {
|
|
|
|
|
2018-10-09 16:25:13 -07:00
|
|
|
Props::Props(const Props &sourceProps, const RawProps &rawProps)
|
|
|
|
: nativeId(convertRawProp(rawProps, "nativeID", sourceProps.nativeId))
|
|
|
|
#ifdef ANDROID
|
|
|
|
,
|
|
|
|
rawProps(rawProps)
|
|
|
|
#endif
|
|
|
|
{};
|
2018-03-23 16:46:09 -07:00
|
|
|
|
2018-03-18 19:04:10 -07:00
|
|
|
} // namespace react
|
|
|
|
} // namespace facebook
|