28 lines
534 B
C++
28 lines
534 B
C++
/**
|
|
* 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 <folly/dynamic.h>
|
|
#include <memory>
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
class ShadowNode {
|
|
public:
|
|
int reactTag_;
|
|
std::string viewName_;
|
|
int rootTag_;
|
|
folly::dynamic props_;
|
|
void *instanceHandle_;
|
|
|
|
ShadowNode(int reactTag, std::string viewName, int rootTag, folly::dynamic props, void *instanceHandle);
|
|
};
|
|
|
|
}}
|