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
Copy file name to clipboardExpand all lines: README.md
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,27 +8,27 @@ React Spaces allow you to divide a page or container HTML element into spaces. T
8
8
9
9
Used at the top level of all other spaces.
10
10
11
-
**ViewPort**
11
+
**<ViewPort />**
12
12
13
13
This space will take over the full viewport of the browser window. Resizing the browser window will automatically adjust the size of this space and all the nested spaces.
14
14
15
-
**Fixed**
15
+
**\<Fixed /\>**
16
16
17
17
This space can be given a height and optionally a width (by default it will size to 100% of it's container). All nested spaces will be contained within this fixed size space.
18
18
19
19
### Inner spaces
20
20
21
-
These can be used within the top-level spaces **ViewPort** and **Fixed** or nested within other spaces.
21
+
These can be used within the top-level spaces **\<ViewPort /\>** and **\<Fixed /\>** or nested within other spaces.
22
22
23
-
**Left** / **Right**
23
+
**\<Left /\>** / **\<Right /\>**
24
24
25
-
A space anchored to the left or right of the parent container/space. A size can be specified in pixels to determine its width.
25
+
A space anchored to the left or right of the parent container/space. A size can be specified in pixels or as a percentage to determine its width.
26
26
27
-
**Top** / **Bottom**
27
+
**\<Top /\>** / **\<Bottom /\>**
28
28
29
-
A space anchored to the top or bottom of the parent container/space. A size can be specified in pixels to determine its height.
29
+
A space anchored to the top or bottom of the parent container/space. A size can be specified in pixels or as a percentage to determine its height.
30
30
31
-
**Fill**
31
+
**\<Fill /\>**
32
32
33
33
A space which consumes any available area left in the parent container/space taking into account any anchored spaces on every side.
0 commit comments