Replaced old password prop with secureTextEntry

Summary: Closes https://github.com/facebook/react-native/pull/7783

Differential Revision: D3371521

Pulled By: javache

fbshipit-source-id: f442b549e6fc8c2c8e5ec12f32185bfabafbdd81
This commit is contained in:
Emilio Rodriguez 2016-06-01 06:57:43 -07:00 committed by Facebook Github Bot 6
parent 002024cc45
commit e87bea464b

View File

@ -524,7 +524,7 @@ exports.examples = [
return (
<View>
<WithLabel label="true">
<TextInput password={true} style={styles.default} defaultValue="abc" />
<TextInput secureTextEntry={true} style={styles.default} defaultValue="abc" />
</WithLabel>
</View>
);