Support string return type from RN createReactNativeFiberComponentClass()

Reviewed By: sebmarkbage

Differential Revision: D4607283

fbshipit-source-id: 466d2373dd570f77ebcced306d2f20a3f72d79c6
This commit is contained in:
Brian Vaughn
2017-03-20 12:58:08 -07:00
committed by Facebook Github Bot
parent d7314661fb
commit 9344f3a95b
13 changed files with 424 additions and 130 deletions

View File

@@ -540,13 +540,6 @@ const TextInput = React.createClass({
*/
mixins: [NativeMethodsMixin, TimerMixin],
viewConfig:
((Platform.OS === 'ios' && RCTTextField ?
RCTTextField.viewConfig :
(Platform.OS === 'android' && AndroidTextInput ?
AndroidTextInput.viewConfig :
{})) : Object),
/**
* Returns `true` if the input is currently focused; `false` otherwise.
*/