Skip to content

Commit 00c2808

Browse files
bang9Simek
andauthored
Added lineBreakStrategyIOS to Text and TextInput (facebook#2566)
Co-authored-by: Bartosz Kaszubowski <[email protected]>
1 parent ab32e2d commit 00c2808

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

docs/text.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,16 @@ It allows the user to select text and to use the native copy and paste functiona
659659
| -------------------------------------------------------- | ------- |
660660
| enum(`'auto'`, `'text'`, `'none'`, `'contain'`, `'all'`) | `none` |
661661

662+
---
663+
664+
### `lineBreakStrategyIOS` <div class="label ios">iOS</div>
665+
666+
Set line break strategy on iOS 14+. Possible values are `none`, `standard`, `hangul-word` and `push-out`.
667+
668+
| Type | Default |
669+
| ----------------------------------------------------------- | -------- |
670+
| enum(`'none'`, `'standard'`, `'hangul-word'`, `'push-out'`) | `'none'` |
671+
662672
## Type Definitions
663673

664674
### TextLayout

docs/textinput.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -945,6 +945,16 @@ The value to show for the text input. `TextInput` is a controlled component, whi
945945
| ------ |
946946
| string |
947947

948+
---
949+
950+
### `lineBreakStrategyIOS` <div class="label ios">iOS</div>
951+
952+
Set line break strategy on iOS 14+. Possible values are `none`, `standard`, `hangul-word` and `push-out`.
953+
954+
| Type | Default |
955+
| ----------------------------------------------------------- | -------- |
956+
| enum(`'none'`, `'standard'`, `'hangul-word'`, `'push-out'`) | `'none'` |
957+
948958
## Methods
949959

950960
### `.focus()`

0 commit comments

Comments
 (0)