Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refatoração de codigo duplicado #205

Open
andre-filho opened this issue Nov 6, 2018 · 0 comments
Open

refatoração de codigo duplicado #205

andre-filho opened this issue Nov 6, 2018 · 0 comments
Labels
Clean Code Técnicas de Clean Code aplicadas na disciplina de GCES 2018-2

Comments

@andre-filho
Copy link

<View>
  <View style={{ flexDirection: 'row' }}>
    <Text style={{ fontWeight: 'bold', paddingTop: 5, paddingLeft: 10 }}>Sim</Text>
    <Text style={{ fontWeight: 'bold', paddingTop: 5, paddingLeft: 20 }}>Nao</Text>
  </View>
  {
    this.props.report.map(item => (
      <View style={styles.checklist.text} key={item.key}>
        {this.showPositiveCheckBox(item)}
        {this.showNegativeCheckBox(item)}
        <Text style={styles.checklist.label}>{item.label}</Text>
      </View>
    ),
    )
  }
</View>
@andre-filho andre-filho added the Clean Code Técnicas de Clean Code aplicadas na disciplina de GCES 2018-2 label Nov 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Code Técnicas de Clean Code aplicadas na disciplina de GCES 2018-2
Projects
None yet
Development

No branches or pull requests

1 participant