mirror of
https://github.com/status-im/react-native.git
synced 2025-01-28 02:04:55 +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.
|
* Unified layout constraints for measuring.
|
||||||
*/
|
*/
|
||||||
struct LayoutConstraints {
|
struct LayoutConstraints {
|
||||||
Size minimumSize;
|
Size minimumSize {0, 0};
|
||||||
Size maximumSize;
|
Size maximumSize {kFloatUndefined, kFloatUndefined};
|
||||||
LayoutDirection layoutDirection;
|
LayoutDirection layoutDirection;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user