Skip to content

Commit

Permalink
chore: Update TextInput prop types to be alpha sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldonadel committed Aug 20, 2022
1 parent f29a533 commit 21aec01
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Libraries/Components/TextInput/TextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -532,13 +532,6 @@ export type Props = $ReadOnly<{|
*/
editable?: ?boolean,

/** `readOnly` works like the `readonly` attribute in HTML.
* If `true`, text is not editable. The default value is `false`.
* See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly
* for more details.
*/
readOnly?: ?boolean,

forwardedRef?: ?ReactRefSetter<
React.ElementRef<HostComponent<mixed>> & ImperativeMethods,
>,
Expand Down Expand Up @@ -716,6 +709,13 @@ export type Props = $ReadOnly<{|
*/
placeholderTextColor?: ?ColorValue,

/** `readOnly` works like the `readonly` attribute in HTML.
* If `true`, text is not editable. The default value is `false`.
* See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly
* for more details.
*/
readOnly?: ?boolean,

/**
* Determines how the return key should look. On Android you can also use
* `returnKeyLabel`.
Expand Down

0 comments on commit 21aec01

Please sign in to comment.