Skip to content

Commit 010d7cd

Browse files
TextInput: Add readOnly prop (#3278)
1 parent cea5507 commit 010d7cd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/textinput.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,16 @@ The text color of the placeholder string.
625625

626626
---
627627

628+
### `readOnly`
629+
630+
If `true`, text is not editable. The default value is `false`.
631+
632+
| Type |
633+
| ---- |
634+
| bool |
635+
636+
---
637+
628638
### `returnKeyLabel` <div class="label android">Android</div>
629639

630640
Sets the return key to the label. Use it instead of `returnKeyType`.

0 commit comments

Comments
 (0)