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 para componente a parte #204

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

refatoração de codigo duplicado para componente a parte #204

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

showPositiveCheckBox(item) {
  return (
    <View>
      <Checkbox
        checkboxStyle={styles.checklist.checkBoxStyle}
        selected={item.markedYes}
        selectedColor={'#008000'}
        onSelect={() => {
          this.props.setKitchenReportPositive(item.key);
          this.props.setStatusKitchen(false);
        }}
        disabled={item.markedNo}
        disabledColor={null}
      />
    </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
@andre-filho andre-filho self-assigned this Nov 6, 2018
@andre-filho andre-filho removed their assignment Nov 14, 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