From 43f5bb5c15aefa8d72608f947585f76b736486c4 Mon Sep 17 00:00:00 2001 From: Gabriel Donadel Dall'Agnol Date: Wed, 24 Aug 2022 19:25:41 -0300 Subject: [PATCH] feat: Add readOnly prop to TextInput docs and deprecate editable --- docs/textinput.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/textinput.md b/docs/textinput.md index c685e65d14c..6e831a04d12 100644 --- a/docs/textinput.md +++ b/docs/textinput.md @@ -625,6 +625,16 @@ The text color of the placeholder string. --- +### `readOnly` + +If `true`, text is not editable. The default value is `false`. + +| Type | +| ---- | +| bool | + +--- + ### `returnKeyLabel`
Android
Sets the return key to the label. Use it instead of `returnKeyType`.