Skip to content

Commit ba10664

Browse files
authored
Update README.md
1 parent 8385a47 commit ba10664

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,27 @@ React Spaces allow you to divide a page or container HTML element into spaces. T
88

99
Used at the top level of all other spaces.
1010

11-
**ViewPort**
11+
**<ViewPort />**
1212

1313
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.
1414

15-
**Fixed**
15+
**\<Fixed /\>**
1616

1717
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.
1818

1919
### Inner spaces
2020

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.
2222

23-
**Left** / **Right**
23+
**\<Left /\>** / **\<Right /\>**
2424

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.
2626

27-
**Top** / **Bottom**
27+
**\<Top /\>** / **\<Bottom /\>**
2828

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.
3030

31-
**Fill**
31+
**\<Fill /\>**
3232

3333
A space which consumes any available area left in the parent container/space taking into account any anchored spaces on every side.
3434

@@ -44,5 +44,4 @@ npm install react-spaces --save
4444
import * as Spaces from 'react-spaces';
4545
```
4646

47-
View full documentation here:
48-
[View examples here](http://www.allaneagle.com/react-spaces/demo/)
47+
View full documentation [here](http://www.allaneagle.com/react-spaces/demo/).

0 commit comments

Comments
 (0)