Guest User

Untitled

a guest
Apr 25th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. render() {
  2. const errorMessege = 'Please enter FirstName/LastName/Company/ID to search';
  3. return (
  4. <Container>
  5. <Content padder style={styles.content}>
  6. <Form>
  7. <Item floatingLabel>
  8. <Label>FirstName</Label>
  9. <Input onChangeText={this.handleChangeFirstNameText} />
  10. </Item>
  11. <Item floatingLabel>
  12. <Label>LastName</Label>
  13. <Input onChangeText={this.handleChangeLastNameText} />
  14. </Item>
  15. <Item floatingLabel>
  16. <Label>Company</Label>
  17. <Input onChangeText={this.handleChangeCompanyText} />
  18. </Item>
  19. <Item floatingLabel>
  20. <Label>SEC3URE ID</Label>
  21. <Input onChangeText={this.handleSecureIDText} />
  22. </Item>
  23. </Form>
  24. <View style={styles.checkboxView}>
  25. <View style={styles.checkboxExact}>
  26. <ListItem style={styles.checkboxExact}>
  27. <CheckBox checked={this.state.exact} onPress={this.handleExactPressed} />
  28. <Body>
  29. <Text style={styles.notRevokedAccessText}>Exact</Text>
  30. </Body>
  31. </ListItem>
  32. </View>
  33. <View style={styles.checkboxRevokeAccess}>
  34. <ListItem>
  35. <CheckBox
  36. checked={this.state.not_revoked_access}
  37. onPress={this.handleRevokedPressed}
  38. />
  39. <Body>
  40. <Text style={styles.notRevokedAccessText}>Not Revoked Access</Text>
  41. </Body>
  42. </ListItem>
  43. </View>
  44. </View>
  45. {this.state.showError ? <ErrorText displayText={errorMessege} /> : ''}
  46. <Button success style={styles.searchButton} onPress={this.handleRepSearch}>
  47. <Text> Search </Text>
  48. </Button>
  49. </Content>
  50. {this.props.showLoading ? <Loading /> : null}
  51. </Container>
  52. );
  53. }
  54. }
Add Comment
Please, Sign In to add comment