2018-03-18 19:04:10 -07: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-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-05-14 15:43:28 -07:00
|
|
|
Props::Props(const Props &sourceProps, const RawProps &rawProps):
|
|
|
|
nativeId(convertRawProp(rawProps, "nativeID", sourceProps.nativeId)) {};
|
2018-03-23 16:46:09 -07:00
|
|
|
|
2018-03-18 19:04:10 -07:00
|
|
|
} // namespace react
|
|
|
|
} // namespace facebook
|