Skip to content

Conversation

@martinezguillaume
Copy link
Contributor

@martinezguillaume martinezguillaume commented Aug 21, 2017

New login screen 🏌🏻

aout-21-2017 10-59-50

This pr has a dependency with this pr

@martinezguillaume martinezguillaume changed the title New login screen (3) New login screen 3 Aug 21, 2017
@@ -1,45 +1,416 @@
import React, { Component } from 'react';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just fyi, the above images are too big. 512 x 512. In the future compress them down to a smaller 128 x 128 & also provide a @2x & @3x for different phone sizes.

This might be useful to read: https://facebook.github.io/react-native/docs/images.html#static-image-resources

return !fontLoaded
? <Text> Loading... </Text>
: <ScrollView
scrollEnabled={false}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird formatting. Also if a return is multi-line consider using () for readability

<Button
text="Login here"
textStyle={styles.loginHereText}
containerStyle={{ flex: -1 }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

never seen a negative flex before. What is this doing?

colors: ['#FF9800', '#F44336'],
start: [1, 0],
end: [0.2, 0],
}}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

Copy link
Collaborator

@Monte9 Monte9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Monte9
Copy link
Collaborator

Monte9 commented Aug 26, 2017

@martinezguillaume solid implementation! 🔥 gj!

Left a few comments. But looks good overall. Merging it into v1.

@Monte9 Monte9 merged commit 3771217 into react-native-elements:v1 Aug 26, 2017
@martinezguillaume martinezguillaume deleted the login-screen-3 branch September 13, 2017 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants