Skip to content

Commit cebcce2

Browse files
authored
Update README.md
1 parent 17a608c commit cebcce2

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,9 @@ Used at the top level of all other spaces.
1616

1717
These can be used within the top-level spaces **ViewPort** and **Fixed** or nested within other spaces.
1818

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

21-
* **Right** - a space anchored to the right of the parent container/space. A size can be specified in pixels to determine its width.
22-
23-
* **Top** - a space anchored to the top of the parent container/space. A size can be specified in pixels to determine its height.
24-
25-
* **Bottom** - a space anchored to the bottom of the parent container/space. A size can be specified in pixels to determine its height.
21+
* **Top** / **Bottom** - a space anchored to the top or bottom of the parent container/space. A size can be specified in pixels to determine its height.
2622

2723
* **Fill** - a space which consumes any available area left in the parent container/space taking into account any anchored spaces on every side.
2824

@@ -42,8 +38,6 @@ import * as Spaces from 'react-spaces';
4238

4339
Non-resizable spaces provide layout but can not be resized by user interaction.
4440

45-
[Example on codesandbox.io](https://codesandbox.io/s/react-shapes-left-right-spaces-ml4kl?fontsize=14)
46-
4741
### Left and right spaces
4842

4943
```typescript
@@ -70,7 +64,7 @@ const App = () => (
7064

7165
## Resizable spaces
7266

73-
Resizable spaces allow the space to be resized by dragging with the mouse. The size specified is the initial width/height of the space. There are resizable variations of the spaces above calledLeftResizable, RightResizable, TopResizable, and BottomResizable.
67+
Resizable spaces allow the space to be resized by dragging with the mouse. The size specified is the initial width/height of the space. There are resizable variations of the spaces above called **LeftResizable**, **RightResizable**, **TopResizable**, and **BottomResizable**.
7468

7569
### Left and right resizable spaces
7670

0 commit comments

Comments
 (0)