Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
740
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. <NumericInput
  2. value={4}
  3. onChange={value =>{
  4. let { quantityInput } = this.state;
  5. quantityInput[index] = {
  6. quantity: value,
  7. element_id: item.id
  8. };
  9.  
  10. this.setState({
  11. quantityInput: quantityInput
  12. });
  13. }
  14. }
  15. minValue = {0}
  16. maxValue = {item.quantity}
  17. onLimitReached={(isMax,msg) => console.log(isMax,msg)}
  18. totalWidth={100}
  19. totalHeight={50}
  20. iconSize={20}
  21. step={1}
  22. valueType='real'
  23. rounded
  24. textColor='#B0228C'
  25. iconStyle={{ color: 'white' }}
  26. rightButtonBackgroundColor='#EA3788'
  27. leftButtonBackgroundColor='#E56B70'/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement