@@ -211,36 +211,36 @@ class PickerNB extends Component {
211
211
< Container style = { this . props . modalStyle } >
212
212
{ this . renderHeader ( ) }
213
213
< Content >
214
- < FlatList
215
- testID = { this . props . testID }
216
- data = { this . state . dataSource }
217
- keyExtractor = { ( item , index ) => String ( index ) }
218
- renderItem = { ( { item } ) => (
219
- < ListItem
220
- selected = { item . props . value === this . props . selectedValue }
221
- button
222
- style = { this . props . itemStyle }
223
- onPress = { ( ) => {
224
- this . _setModalVisible ( false ) ;
225
- this . props . onValueChange ( item . props . value , item . key ) ;
226
- this . setState ( { current : item . props . label } ) ;
227
- } }
228
- >
229
- < Left >
230
- < Text style = { this . props . itemTextStyle } >
231
- { item . props . label }
232
- </ Text >
233
- </ Left >
234
- < Right >
235
- { item . props . value === this . props . selectedValue ? (
236
- < Radio selected />
237
- ) : (
238
- < Radio selected = { false } />
239
- ) }
240
- </ Right >
241
- </ ListItem >
242
- ) }
243
- />
214
+ < FlatList
215
+ testID = { this . props . testID }
216
+ data = { this . state . dataSource }
217
+ keyExtractor = { ( item , index ) => String ( index ) }
218
+ renderItem = { ( { item } ) => (
219
+ < ListItem
220
+ selected = { item . props . value === this . props . selectedValue }
221
+ button
222
+ style = { this . props . itemStyle }
223
+ onPress = { ( ) => {
224
+ this . _setModalVisible ( false ) ;
225
+ this . props . onValueChange ( item . props . value , item . key ) ;
226
+ this . setState ( { current : item . props . label } ) ;
227
+ } }
228
+ >
229
+ < Left >
230
+ < Text style = { this . props . itemTextStyle } >
231
+ { item . props . label }
232
+ </ Text >
233
+ </ Left >
234
+ < Right >
235
+ { item . props . value === this . props . selectedValue ? (
236
+ < Radio selected />
237
+ ) : (
238
+ < Radio selected = { false } />
239
+ ) }
240
+ </ Right >
241
+ </ ListItem >
242
+ ) }
243
+ />
244
244
</ Content >
245
245
</ Container >
246
246
</ Modal >
0 commit comments