Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. <Card key={control.id}>
  2. <CardItem header>
  3. <Text>Jméno: {control.name}</Text>
  4. </CardItem>
  5. <CardItem>
  6. <Body>
  7. <Text>Token: {control.code_token}</Text>
  8. <Text>Čas: {control.created_at}</Text>
  9. <Text>Zaznamenal: {control.creator}</Text>
  10. <Text>Střežený objekt: {control.guarded_object}</Text>
  11. <Text>SPZ: {control.licence_plate}</Text>
  12. <Text>Vstup/Odchod: {control.is_entry}</Text>
  13. </Body>
  14. <Right>
  15. <Button iconRight transparent onPress={() => this.props.navigation.navigate("ControlDetailPage", { id: control.id})}>
  16. <Text>Detail kontroly</Text>
  17. <Icon name="arrow-forward"/>
  18. </Button>
  19. </Right>
  20. </CardItem>
  21. <CardItem footer>
  22. <Button danger transparent onPress={(control) => {this.deleteControl(control.id)}}>
  23. <Icon active name="trash" />
  24. <Text>Smazat</Text>
  25. </Button>
  26. <Button transparent onPress={() => this.props.navigation.navigate("ControlEditPage", { id: control.id})}>
  27. <Icon active name="settings" />
  28. <Text>Editovat</Text>
  29. </Button>
  30. </CardItem>
  31. </Card>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement