You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ p_ "Box is a simple building block component. Lumi components default to building off of Box and generally expect their JSX arguments to be Box-compatible elements."
39
+
, p_ "A Box is essentially a div which defaults to a flex column. The most common flex settings are available as prop modifiers. Nested boxes will also stretch to fill their given space by default. If a component shouldn't grow beyond a specific size under any circumstances, be sure to give it a max-width!"
40
+
, vspace S24
41
+
, h2_ "Defaults"
42
+
, example $ lumiElement box
43
+
$ _ { content = exampleContent }
44
+
, h2_ "Row"
45
+
, example $ lumiElement box
46
+
$ _row
47
+
$ _ { content = exampleContent }
48
+
, h2_ "Align/justify"
49
+
, example $ lumiElement box
50
+
$ _row
51
+
$ _alignSelf Stretch-- only necessary because `example` isn't a Box
52
+
$ _justify End
53
+
$ _ { content = exampleContent }
54
+
, h2_ "Space evenly"
55
+
, example $ lumiElement box
56
+
$ _row
57
+
$ _alignSelf Stretch-- only necessary because `example` isn't a Box
0 commit comments