Skip to content

Commit

Permalink
Improved documentation for <TextInput clearButtonMode=...>
Browse files Browse the repository at this point in the history
Summary:
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 ebc9884
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Libraries/Components/TextInput/TextInput.js
Expand Up @@ -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([
Expand Down

3 comments on commit ebc9884

@sunnylqm
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shergin
Copy link
Contributor Author

@shergin shergin commented on ebc9884 Feb 4, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR is welcome!

@gedeagas
Copy link
Contributor

@gedeagas gedeagas commented on ebc9884 Feb 4, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR in react-native-website repo
facebook/react-native-website#183

Please sign in to comment.