mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 19:44:13 +00:00
e052685ffc
Summary: Trivial. Reviewed By: mdvacca Differential Revision: D7857046 fbshipit-source-id: 88400f1831bf66ccd3d880ddf1de3df27287b5be
27 lines
564 B
C++
27 lines
564 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 <fabric/core/LayoutPrimitives.h>
|
|
#include <fabric/graphics/Geometry.h>
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
/*
|
|
* Unified layout constraints for measuring.
|
|
*/
|
|
struct LayoutConstraints {
|
|
Size minimumSize {0, 0};
|
|
Size maximumSize {kFloatUndefined, kFloatUndefined};
|
|
LayoutDirection layoutDirection;
|
|
};
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|