2018-05-09 05:56:14 +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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
2018-07-15 23:46:31 +00:00
|
|
|
#include <fabric/components/view/ViewProps.h>
|
2018-05-09 05:56:14 +00:00
|
|
|
#include <fabric/core/LayoutConstraints.h>
|
|
|
|
#include <fabric/core/LayoutContext.h>
|
|
|
|
|
|
|
|
namespace facebook {
|
|
|
|
namespace react {
|
|
|
|
|
|
|
|
class RootProps;
|
|
|
|
|
|
|
|
using SharedRootProps = std::shared_ptr<const RootProps>;
|
|
|
|
|
|
|
|
class RootProps final:
|
|
|
|
public ViewProps {
|
|
|
|
|
|
|
|
public:
|
2018-05-14 22:43:28 +00:00
|
|
|
RootProps() = default;
|
|
|
|
RootProps(
|
|
|
|
const RootProps &sourceProps,
|
|
|
|
const LayoutConstraints &layoutConstraints,
|
|
|
|
const LayoutContext &layoutContext
|
|
|
|
);
|
2018-05-09 05:56:14 +00:00
|
|
|
|
2018-05-14 22:43:28 +00:00
|
|
|
#pragma mark - Props
|
2018-05-09 05:56:14 +00:00
|
|
|
|
2018-05-14 22:43:28 +00:00
|
|
|
const LayoutConstraints layoutConstraints {};
|
|
|
|
const LayoutContext layoutContext {};
|
2018-05-09 05:56:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace react
|
|
|
|
} // namespace facebook
|