// 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. #pragma once #include #include #include #include #include namespace facebook { namespace react { class StubView final { public: using Shared = std::shared_ptr; StubView() = default; StubView(StubView const &stubView) = default; void update(ShadowView const &shadowView); ComponentName componentName; ComponentHandle componentHandle; Tag tag; SharedProps props; SharedEventEmitter eventEmitter; LayoutMetrics layoutMetrics; State::Shared state; std::vector children; }; bool operator==(StubView const &lhs, StubView const &rhs); bool operator!=(StubView const &lhs, StubView const &rhs); } // namespace react } // namespace facebook