Я хочу изменить значение textInput, но оно изменит все значение textinput, я знаю это из-за состояния, но какой правильный способ обработки этого textInput или что я использую, это numericInput из response-native-numeric-input, спасибоза помощь.
<ScrollView>
{this.state.display.map((info)=>{
return
<View style={{paddingBottom:5,alignSelf:'center'}} key={info.id}>
<View style={{ ... }}>
<View style={{flexDirection:'row'}}>
...
<View style={{justifyContent:'center',marginLeft:'auto',marginRight:10}}>
<NumericInput
totalWidth={70}
totalHeight={30}
iconSize={10}
initValue={this.state.v6}
value={this.state.v6}
onChange={(v6) => this.setState({ v6 })}
rounded
textColor='#59656F'
iconStyle={{ color: 'white' }}
rightButtonBackgroundColor='#AC9FBB'
leftButtonBackgroundColor='#DDBDD5'
/>
</View>
</View>
</View>
</View>
})}
</ScrollView>
и это мой код штата
state={
v6:0
}