mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
8c14d518ce
Summary: Same as D19583582 (https://github.com/facebook/react-native/commit/5b2ea6ec6ab8cecad35d6309ceec3853aa37b0a3). We need this for implementing some tests. Changelog: [Internal] Fabric-specific internal change. Reviewed By: sammy-SC Differential Revision: D22284646 fbshipit-source-id: 9dd6575475c133b9426838021af4d59fb9fc3c65
36 lines
822 B
C++
36 lines
822 B
C++
/*
|
|
* 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 <memory>
|
|
|
|
#include <react/components/view/ViewProps.h>
|
|
#include <react/core/LayoutConstraints.h>
|
|
#include <react/core/LayoutContext.h>
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
class RootProps final : public ViewProps {
|
|
public:
|
|
RootProps() = default;
|
|
RootProps(RootProps const &sourceProps, RawProps const &rawProps);
|
|
RootProps(
|
|
RootProps const &sourceProps,
|
|
LayoutConstraints const &layoutConstraints,
|
|
LayoutContext const &layoutContext);
|
|
|
|
#pragma mark - Props
|
|
|
|
LayoutConstraints layoutConstraints{};
|
|
LayoutContext layoutContext{};
|
|
};
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|