Advertisement
Guest User

Untitled

a guest
Mar 24th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. import React from 'react';
  2. import { StyleSheet, View } from 'react-native';
  3. import { Text, Card , Button } from 'react-native-elements';
  4.  
  5. export default class App extends React.Component {
  6. render() {
  7. return (
  8. <View style ={{flex : 1 }}>
  9.  
  10. <Header
  11. backgroundColor='#a346a3'
  12. leftComponent={{ icon: 'menu', color: '#fff' }}
  13. centerComponent={{ text: 'információ', style: { color: '#fff' } }}
  14. />
  15.  
  16. <View stlye = {{flex: 1, alignItems: 'center', justifyContent: 'center'}}>
  17. <Text>Szevasz</Text>
  18.  
  19. <Card title='információ'>
  20. <Text> Válaszolj a kérdésekre! </Text>
  21. <Text> Kezdéshez smasheld a képernyőt! </Text>
  22. </Card>
  23.  
  24. <Button title='Kezdjük'
  25. tittleStyle={{ fontsize: 22 }}
  26. buttonStyle={{
  27. marginTop: 30,
  28. width: 150,
  29. height: 50,
  30. borderRadius: 30,
  31. backgroundColor: 'purple'
  32. }}
  33. />
  34. </View>
  35. </View>
  36. );
  37. }
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement