Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mobily committed May 13, 2020
1 parent 18422f7 commit df09b1b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
10 changes: 9 additions & 1 deletion docs/docs/box.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ title: Box

### `flex`

- type: `'content' | 'fluid' | '1/2' | '1/3' | '2/3' | '1/4' | '3/4' | '1/5' | '2/5' | '3/5' | '4/5'`
- type: `ResponsiveProp<'content' | 'fluid' | '1/2' | '1/3' | '2/3' | '1/4' | '3/4' | '1/5' | '2/5' | '3/5' | '4/5'>`
- required: `no`
- default: `content`

Expand All @@ -35,6 +35,14 @@ title: Box
- required: `no`
- default: `top`

### `alignSelf`

- type:
- if direction is `row` or `row-reverse`: `ResponsiveProp<'top' | 'center' | 'bottom' | 'stretch'>`
- if direction is `column` or `column-reverse`: `ResponsiveProp<'top' | 'center' | 'bottom'>`
- required: `no`
- default: `top`

### `wrap`

- type: `'wrap' | 'nowrap' | 'wrap-reverse'`
Expand Down
6 changes: 0 additions & 6 deletions docs/docs/column.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ title: Column
- required: `no`
- default: `fluid`

### `align`

- type: `ResponsiveProp<'left' | 'center' | 'right'>`
- required: `no`
- default: `left`

:::note

`Column` component inherits all [`View` props](https://reactnative.dev/docs/view).
Expand Down

0 comments on commit df09b1b

Please sign in to comment.