Skip to content

Commit

Permalink
add email input constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
noahschutte committed Aug 1, 2016
1 parent 8ade62e commit a8f745f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/user_profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ export default class UserProfile extends Component {

<Button
text={'Update email'}
autoCapitalize = "none"
onPress={this.onUpdateEmailPress.bind(this)}
/>

</View>
Expand All @@ -41,6 +43,9 @@ export default class UserProfile extends Component {
onBackPress() {
this.props.navigator.pop();
}
onUpdateEmailPress() {
// Update email address
}
}

const styles = StyleSheet.create({
Expand Down

0 comments on commit a8f745f

Please sign in to comment.