Browse files

Improved documentation for <TextInput clearButtonMode=...>

Documentation only. Actual behaviour was never changed.

Created from Diffusion's 'Open in Editor' feature.

Reviewed By: sahrens

Differential Revision: D6869466

fbshipit-source-id: 6e964433bb2b04b288736a3f01244285bc8c3fe8
  • Loading branch information...
shergin authored and facebook-github-bot committed Feb 2, 2018
1 parent 9f7cedb commit ebc98840e93c336e8c9e4a93c78e6ca03591f0ec
Showing with 1 addition and 0 deletions.
  1. +1 −0 Libraries/Components/TextInput/TextInput.js
@@ -499,6 +499,7 @@ const TextInput = createReactClass({
defaultValue: PropTypes.string,
* When the clear button should appear on the right side of the text view.
* This property is supported only for single-line TextInput component.
* @platform ios
clearButtonMode: PropTypes.oneOf([

3 comments on commit ebc9884


This comment has been minimized.


This comment has been minimized.


shergin replied Feb 4, 2018

PR is welcome!


This comment has been minimized.


gedeagas replied Feb 4, 2018

PR in react-native-website repo

Please sign in to comment.