Skip to content

Commit 05e968e

Browse files
chore: Update TextInput prop types to be alpha sorted
1 parent 2017605 commit 05e968e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Libraries/Components/TextInput/TextInput.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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`.

0 commit comments

Comments
 (0)