Skip to content

Commit 7d409f5

Browse files
authored
Update README.md
1 parent 9563f0e commit 7d409f5

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ React Spaces allows you to divide a page or container into spaces. These spaces
44

55
[View examples here](http://www.allaneagle.com/react-spaces/demo/)
66

7-
## Top level spaces
7+
### Top level spaces
88

9-
These are supposed to be used at the top level of all spaces.
9+
Used at the top level of all other spaces.
1010

11-
* **ViewPort** - a top level space. 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.
11+
* **ViewPort** - 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.
1212

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

15-
## Inner spaces
15+
### Inner spaces
1616

17-
These can be used with the top-level spaces ViewPort and Fixed and within other inner spaces.
17+
These can be used within the top-level spaces **ViewPort** and **Fixed** and within other inner spaces.
1818

1919
* **Left** - a space anchored to the left of the parent container/space. A size can be specified in pixels to determine its width.
2020

@@ -101,7 +101,7 @@ Additional properties can be specified to constrain the resizing:
101101
* **minimumSize** - minimum size the space can be resized (default is 10px)
102102
* **maximumSize** - maximum size the space can be resized
103103

104-
*** Resizable spaces with constrained minimum and maximum sizes
104+
### Resizable spaces with constrained minimum and maximum sizes
105105

106106
```typescript
107107
const App = () => (
@@ -112,11 +112,12 @@ const App = () => (
112112
</Space.Fixed>
113113
)
114114
```
115-
** Nested spaces
115+
116+
## Nested spaces
116117

117118
Spaces can be nested within other spaces to create complex layouts.
118119

119-
*** Left/right spaces nested within top/full/bottom spaces
120+
### Left/right spaces nested within top/full/bottom spaces
120121

121122
```typescript
122123
const App = () => (

0 commit comments

Comments
 (0)