Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <NumericInput
- value={4}
- onChange={value =>{
- let { quantityInput } = this.state;
- quantityInput[index] = {
- quantity: value,
- element_id: item.id
- };
- this.setState({
- quantityInput: quantityInput
- });
- }
- }
- minValue = {0}
- maxValue = {item.quantity}
- onLimitReached={(isMax,msg) => console.log(isMax,msg)}
- totalWidth={100}
- totalHeight={50}
- iconSize={20}
- step={1}
- valueType='real'
- rounded
- textColor='#B0228C'
- iconStyle={{ color: 'white' }}
- rightButtonBackgroundColor='#EA3788'
- leftButtonBackgroundColor='#E56B70'/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement