From 00c2808a71cee840d16b12d0f1406a3c87a0facf Mon Sep 17 00:00:00 2001 From: Hyungu Kang | Airen Date: Sun, 6 Nov 2022 21:14:16 +0900 Subject: [PATCH] Added lineBreakStrategyIOS to Text and TextInput (#2566) Co-authored-by: Bartosz Kaszubowski --- docs/text.md | 10 ++++++++++ docs/textinput.md | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/docs/text.md b/docs/text.md index e5ad0c17745..2fe4b519815 100644 --- a/docs/text.md +++ b/docs/text.md @@ -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`
iOS
+ +Set line break strategy on iOS 14+. Possible values are `none`, `standard`, `hangul-word` and `push-out`. + +| Type | Default | +| ----------------------------------------------------------- | -------- | +| enum(`'none'`, `'standard'`, `'hangul-word'`, `'push-out'`) | `'none'` | + ## Type Definitions ### TextLayout diff --git a/docs/textinput.md b/docs/textinput.md index 9d09ee2211e..0bd5cf0e143 100644 --- a/docs/textinput.md +++ b/docs/textinput.md @@ -945,6 +945,16 @@ The value to show for the text input. `TextInput` is a controlled component, whi | ------ | | string | +--- + +### `lineBreakStrategyIOS`
iOS
+ +Set line break strategy on iOS 14+. Possible values are `none`, `standard`, `hangul-word` and `push-out`. + +| Type | Default | +| ----------------------------------------------------------- | -------- | +| enum(`'none'`, `'standard'`, `'hangul-word'`, `'push-out'`) | `'none'` | + ## Methods ### `.focus()`