File tree 1 file changed +7
-7
lines changed
Libraries/Components/TextInput
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -532,13 +532,6 @@ export type Props = $ReadOnly<{|
532
532
*/
533
533
editable ?: ?boolean ,
534
534
535
- /** `readOnly` works like the `readonly` attribute in HTML.
536
- * If `true`, text is not editable. The default value is `false`.
537
- * See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly
538
- * for more details.
539
- */
540
- readOnly ?: ?boolean ,
541
-
542
535
forwardedRef ?: ?ReactRefSetter <
543
536
React . ElementRef < HostComponent < mixed >> & ImperativeMethods ,
544
537
> ,
@@ -716,6 +709,13 @@ export type Props = $ReadOnly<{|
716
709
*/
717
710
placeholderTextColor ?: ?ColorValue ,
718
711
712
+ /** `readOnly` works like the `readonly` attribute in HTML.
713
+ * If `true`, text is not editable. The default value is `false`.
714
+ * See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly
715
+ * for more details.
716
+ */
717
+ readOnly ?: ?boolean ,
718
+
719
719
/**
720
720
* Determines how the return key should look. On Android you can also use
721
721
* `returnKeyLabel`.
You can’t perform that action at this time.
0 commit comments