Advertisement
Guest User

Untitled

a guest
Nov 18th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. <View style={styles.container}>
  2. <TouchableOpacity style={styles.button} onPress={()=>{alert("you clicked me")}}>
  3. <Image source={require("./assets/2.png")}/>
  4. </TouchableOpacity>
  5. <Text>We are just getting started</Text>
  6. </View>
  7.  
  8.  
  9. const styles = StyleSheet.create({
  10. container: {
  11. flex: 1,
  12. backgroundColor: '#fff',
  13. alignItems: 'center',
  14. justifyContent: 'center',
  15. },
  16. button: {
  17. backgroundColor: '#859a9b',
  18. borderRadius: 20,
  19. padding: 10,
  20. marginBottom: 20,
  21. shadowColor: '#303838',
  22. shadowOffset: { width: 0, height: 5 },
  23. shadowRadius: 10,
  24. shadowOpacity: 0.35,
  25. },
  26. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement