Skip to content

Commit

Permalink
Added PropType for scrollEnabled property on TextInput
Browse files Browse the repository at this point in the history
  • Loading branch information
baldursson committed May 18, 2018
1 parent d7215b0 commit 585ae6d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Libraries/Components/TextInput/TextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,12 @@ const TextInput = createReactClass({
* The text color of the placeholder string.
*/
placeholderTextColor: ColorPropType,
/**
* If `false`, scrolling of the text view will be disabled.
* The default value is `true`. Does only work with 'multiline={true}'.
* @platform ios
*/
scrollEnabled: PropTypes.bool,
/**
* If `true`, the text input obscures the text entered so that sensitive text
* like passwords stay secure. The default value is `false`. Does not work with 'multiline={true}'.
Expand Down

0 comments on commit 585ae6d

Please sign in to comment.