We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69b5a17 commit 7bfabffCopy full SHA for 7bfabff
.changeset/cold-trees-raise.md
@@ -0,0 +1,5 @@
1
+---
2
+"rescript-ink": patch
3
4
+
5
+Fix to default display to be #flex
packages/ink/src/Ink_Components_Box.res
@@ -33,7 +33,10 @@ let makeProps = (
33
{
34
"ref": ref,
35
"children": children,
36
- "display": display,
+ "display": switch display {
37
+ | None => Some(#flex)
38
+ | display => display
39
+ },
40
"flexGrow": flexGrow,
41
"flexShrink": flexShrink,
42
"flexBasis": switch flexBasis {
0 commit comments