Skip to content

Commit

Permalink
TextInput: Remove PropTypes, NativeMethodsMixin; Convert to ES6 class (
Browse files Browse the repository at this point in the history
…#21885)

Summary:
This pull requests converts `TextInput` to an ES6 class, and in the process removes its usage of `prop-types` and `NativeMethodsMixin`.

The code (and some relevant types) for the native components have been moved to `TextInputNativeComponent.js`.

The rest of the flow proptypes have been moved to `TextInputTypes.js`.
Pull Request resolved: #21885

Reviewed By: RSNara

Differential Revision: D10515754

Pulled By: TheSavior

fbshipit-source-id: 5cfb25344385904b37a49582008c2a4b46db809d
  • Loading branch information
empyrical authored and facebook-github-bot committed Nov 8, 2018
1 parent e57ad4e commit 70e9e26
Show file tree
Hide file tree
Showing 3 changed files with 685 additions and 730 deletions.
Loading

0 comments on commit 70e9e26

Please sign in to comment.