[ReactNative] Fix secure text entry

Summary:
@public

`validAttributes` strikes again.

Test Plan: secure box in example is actually secure
This commit is contained in:
Spencer Ahrens
2015-06-09 16:02:16 -07:00
parent 6c6b8bec7e
commit 3102fc5df9
2 changed files with 7 additions and 48 deletions

View File

@@ -35,6 +35,7 @@ var createReactNativeComponentClass = function(
this.previousFlattenedStyle = null;
};
Constructor.displayName = viewConfig.uiViewClassName;
Constructor.viewConfig = viewConfig;
Constructor.prototype = new ReactNativeBaseComponent(viewConfig);
Constructor.prototype.constructor = Constructor;