Skip to content

Commit 89f7fc5

Browse files
docs: add documentation for lineBreakModeIOS prop in TextInput (#4553)
1 parent ed840b3 commit 89f7fc5

File tree

4 files changed

+40
-0
lines changed

4 files changed

+40
-0
lines changed

docs/textinput.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,6 +1066,16 @@ Set line break strategy on iOS 14+. Possible values are `none`, `standard`, `han
10661066

10671067
---
10681068

1069+
### `lineBreakModeIOS` <div class="label ios">iOS</div>
1070+
1071+
Set line break mode on iOS. Possible values are `wordWrapping`, `char`, `clip`, `head`, `middle` and `tail`.
1072+
1073+
| Type | Default |
1074+
| -------------------------------------------------------------------------- | ---------------- |
1075+
| enum(`'wordWrapping'`, `'char'`, `'clip'`, `'head'`, `'middle'`, `'tail'`) | `'wordWrapping'` |
1076+
1077+
---
1078+
10691079
### `disableKeyboardShortcuts` <div class="label ios">iOS</div>
10701080

10711081
If `true`, the keyboard shortcuts (undo/redo and copy buttons) are disabled. The default value is `false`.

website/versioned_docs/version-0.76/textinput.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,6 +1021,16 @@ Set line break strategy on iOS 14+. Possible values are `none`, `standard`, `han
10211021
| ----------------------------------------------------------- | -------- |
10221022
| enum(`'none'`, `'standard'`, `'hangul-word'`, `'push-out'`) | `'none'` |
10231023

1024+
---
1025+
1026+
### `lineBreakModeIOS` <div class="label ios">iOS</div>
1027+
1028+
Set line break mode on iOS. Possible values are `wordWrapping`, `char`, `clip`, `head`, `middle` and `tail`.
1029+
1030+
| Type | Default |
1031+
| -------------------------------------------------------------------------- | ---------------- |
1032+
| enum(`'wordWrapping'`, `'char'`, `'clip'`, `'head'`, `'middle'`, `'tail'`) | `'wordWrapping'` |
1033+
10241034
## Methods
10251035

10261036
### `.focus()`

website/versioned_docs/version-0.77/textinput.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,6 +1062,16 @@ Set line break strategy on iOS 14+. Possible values are `none`, `standard`, `han
10621062

10631063
---
10641064

1065+
### `lineBreakModeIOS` <div class="label ios">iOS</div>
1066+
1067+
Set line break mode on iOS. Possible values are `wordWrapping`, `char`, `clip`, `head`, `middle` and `tail`.
1068+
1069+
| Type | Default |
1070+
| -------------------------------------------------------------------------- | ---------------- |
1071+
| enum(`'wordWrapping'`, `'char'`, `'clip'`, `'head'`, `'middle'`, `'tail'`) | `'wordWrapping'` |
1072+
1073+
---
1074+
10651075
### `disableKeyboardShortcuts` <div class="label ios">iOS</div>
10661076

10671077
If `true`, the keyboard shortcuts (undo/redo and copy buttons) are disabled. The default value is `false`.

website/versioned_docs/version-0.78/textinput.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,6 +1062,16 @@ Set line break strategy on iOS 14+. Possible values are `none`, `standard`, `han
10621062

10631063
---
10641064

1065+
### `lineBreakModeIOS` <div class="label ios">iOS</div>
1066+
1067+
Set line break mode on iOS. Possible values are `wordWrapping`, `char`, `clip`, `head`, `middle` and `tail`.
1068+
1069+
| Type | Default |
1070+
| -------------------------------------------------------------------------- | ---------------- |
1071+
| enum(`'wordWrapping'`, `'char'`, `'clip'`, `'head'`, `'middle'`, `'tail'`) | `'wordWrapping'` |
1072+
1073+
---
1074+
10651075
### `disableKeyboardShortcuts` <div class="label ios">iOS</div>
10661076

10671077
If `true`, the keyboard shortcuts (undo/redo and copy buttons) are disabled. The default value is `false`.

0 commit comments

Comments
 (0)