Open andre-filho opened 6 years ago
<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>