Skip to content

Commit

Permalink
Add colored password input to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sooth-sayer committed Feb 25, 2016
1 parent 5816b2e commit 8c11e43
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Examples/UIExplorer/TextInputExample.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,11 @@ exports.examples = [
selectionColor={'red'}
style={styles.singleLine}>
</TextInput>
<TextInput
style={[styles.default, {color: 'sienna'}]}
defaultValue="Password"
password={true}
/>
</View>
);
}
Expand Down
5 changes: 5 additions & 0 deletions Examples/UIExplorer/TextInputExample.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,11 @@ exports.examples = [
style={[styles.default, {color: 'green'}]}
defaultValue="Green"
/>
<TextInput
style={[styles.default, {color: 'red'}]}
defaultValue="Password"
password={true}
/>
</View>
);
}
Expand Down

0 comments on commit 8c11e43

Please sign in to comment.