Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Card key={control.id}>
- <CardItem header>
- <Text>Jméno: {control.name}</Text>
- </CardItem>
- <CardItem>
- <Body>
- <Text>Token: {control.code_token}</Text>
- <Text>Čas: {control.created_at}</Text>
- <Text>Zaznamenal: {control.creator}</Text>
- <Text>Střežený objekt: {control.guarded_object}</Text>
- <Text>SPZ: {control.licence_plate}</Text>
- <Text>Vstup/Odchod: {control.is_entry}</Text>
- </Body>
- <Right>
- <Button iconRight transparent onPress={() => this.props.navigation.navigate("ControlDetailPage", { id: control.id})}>
- <Text>Detail kontroly</Text>
- <Icon name="arrow-forward"/>
- </Button>
- </Right>
- </CardItem>
- <CardItem footer>
- <Button danger transparent onPress={(control) => {this.deleteControl(control.id)}}>
- <Icon active name="trash" />
- <Text>Smazat</Text>
- </Button>
- <Button transparent onPress={() => this.props.navigation.navigate("ControlEditPage", { id: control.id})}>
- <Icon active name="settings" />
- <Text>Editovat</Text>
- </Button>
- </CardItem>
- </Card>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement