Skip to content

Commit 1c92a74

Browse files
authored
TextInput: document inputAccessoryViewButtonLabel prop (facebook#4530)
1 parent 07a4e7e commit 1c92a74

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

docs/textinput.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,18 @@ An optional identifier which links a custom [InputAccessoryView](inputaccessoryv
438438

439439
---
440440

441+
### `inputAccessoryViewButtonLabel` <div class="label ios">iOS</div>
442+
443+
An optional label that overrides the default [InputAccessoryView](inputaccessoryview.md) button label.
444+
445+
By default, the default button label is not localized. Use this property to provide a localized version.
446+
447+
| Type |
448+
| ------ |
449+
| string |
450+
451+
---
452+
441453
### `inputMode`
442454

443455
Works like the `inputmode` attribute in HTML, it determines which keyboard to open, e.g. `numeric` and has precedence over `keyboardType`.

website/versioned_docs/version-0.77/textinput.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,18 @@ An optional identifier which links a custom [InputAccessoryView](inputaccessoryv
438438

439439
---
440440

441+
### `inputAccessoryViewButtonLabel` <div class="label ios">iOS</div>
442+
443+
An optional label that overrides the default [InputAccessoryView](inputaccessoryview.md) button label.
444+
445+
By default, the default button label is not localized. Use this property to provide a localized version.
446+
447+
| Type |
448+
| ------ |
449+
| string |
450+
451+
---
452+
441453
### `inputMode`
442454

443455
Works like the `inputmode` attribute in HTML, it determines which keyboard to open, e.g. `numeric` and has precedence over `keyboardType`.

website/versioned_docs/version-0.78/textinput.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,18 @@ An optional identifier which links a custom [InputAccessoryView](inputaccessoryv
438438

439439
---
440440

441+
### `inputAccessoryViewButtonLabel` <div class="label ios">iOS</div>
442+
443+
An optional label that overrides the default [InputAccessoryView](inputaccessoryview.md) button label.
444+
445+
By default, the default button label is not localized. Use this property to provide a localized version.
446+
447+
| Type |
448+
| ------ |
449+
| string |
450+
451+
---
452+
441453
### `inputMode`
442454

443455
Works like the `inputmode` attribute in HTML, it determines which keyboard to open, e.g. `numeric` and has precedence over `keyboardType`.

0 commit comments

Comments
 (0)