mirror of
https://github.com/status-im/react-native.git
synced 2025-01-26 09:19:10 +00:00
Fabric: Resonable default values for LayoutConstraints members
Summary: Trivial. Reviewed By: mdvacca Differential Revision: D7857046 fbshipit-source-id: 88400f1831bf66ccd3d880ddf1de3df27287b5be
This commit is contained in:
parent
a879842033
commit
e052685ffc
@ -17,8 +17,8 @@ namespace react {
|
||||
* Unified layout constraints for measuring.
|
||||
*/
|
||||
struct LayoutConstraints {
|
||||
Size minimumSize;
|
||||
Size maximumSize;
|
||||
Size minimumSize {0, 0};
|
||||
Size maximumSize {kFloatUndefined, kFloatUndefined};
|
||||
LayoutDirection layoutDirection;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user