Skip to content

Commit

Permalink
Add verticalAlignment description to API reference (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
everdimension authored and joshwcomeau committed Jun 26, 2018
1 parent 567b365 commit c4b3b9a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions documentation/api_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,16 @@ When `false`, children are immediately removed from the DOM flow as they animate

---

### `verticalAlignment`

| **Accepted Types:** | **Default Value** | **Accepted Values** |
|---------------------|-------------------|---------------------|
| `String` | `'top'` | `'top'`, `'bottom'` |

If the container is bottom-aligned and an element is removed, the container's top edge moves lower. You can tell `react-flip-move` to account for this by passing `'bottom'` to the `verticalAlignment` prop.

---

### `onStart`

| **Accepted Types:** | **Default Value** |
Expand Down

0 comments on commit c4b3b9a

Please sign in to comment.