Skip to content

Commit

Permalink
docs(text,textinput): update lineBreakStrategyIOS prop
Browse files Browse the repository at this point in the history
  • Loading branch information
bang9 committed Sep 29, 2022
1 parent d6fe39d commit 31b9552
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,16 @@ It allows the user to select text and to use the native copy and paste functiona
| -------------------------------------------------------- | ------- |
| enum(`'auto'`, `'text'`, `'none'`, `'contain'`, `'all'`) | `none` |

---

### `lineBreakStrategyIOS` <div class="label ios">iOS</div>

Set line break strategy on iOS 14+. possible values are `none`, `standard`, `hangul-word`, `push-out`.

| Type | Default |
| ----------------------------------------------------------- | -------- |
| enum(`'none'`, `'standard'`, `'hangul-word'`, `'push-out'`) | `'none'` |

## Type Definitions

### TextLayout
Expand Down
10 changes: 10 additions & 0 deletions docs/textinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -945,6 +945,16 @@ The value to show for the text input. `TextInput` is a controlled component, whi
| ------ |
| string |

---

### `lineBreakStrategyIOS` <div class="label ios">iOS</div>

Set line break strategy on iOS 14+. possible values are `none`, `standard`, `hangul-word`, `push-out`.

| Type | Default |
| ----------------------------------------------------------- | -------- |
| enum(`'none'`, `'standard'`, `'hangul-word'`, `'push-out'`) | `'none'` |

## Methods

### `.focus()`
Expand Down

0 comments on commit 31b9552

Please sign in to comment.