File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Libraries/Components/TextInput Expand file tree Collapse file tree 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<{|
532532 */
533533 editable ?: ?boolean ,
534534
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-
542535 forwardedRef ?: ?ReactRefSetter <
543536 React . ElementRef < HostComponent < mixed >> & ImperativeMethods ,
544537 > ,
@@ -716,6 +709,13 @@ export type Props = $ReadOnly<{|
716709 */
717710 placeholderTextColor ?: ?ColorValue ,
718711
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+
719719 /**
720720 * Determines how the return key should look. On Android you can also use
721721 * `returnKeyLabel`.
You can’t perform that action at this time.
0 commit comments