2018-03-19 02:04:10 +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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "Props.h"
|
|
|
|
|
2018-04-27 00:51:59 +00:00
|
|
|
#include <fabric/core/propsConversions.h>
|
2018-03-19 02:04:10 +00:00
|
|
|
#include <folly/dynamic.h>
|
|
|
|
|
|
|
|
namespace facebook {
|
|
|
|
namespace react {
|
|
|
|
|
2018-05-14 22:43:28 +00:00
|
|
|
Props::Props(const Props &sourceProps, const RawProps &rawProps):
|
|
|
|
nativeId(convertRawProp(rawProps, "nativeID", sourceProps.nativeId)) {};
|
2018-03-23 23:46:09 +00:00
|
|
|
|
2018-03-19 02:04:10 +00:00
|
|
|
} // namespace react
|
|
|
|
} // namespace facebook
|