Skip to content

Commit 6ea6c93

Browse files
committed
📝 Add min/max-props to AmountControl readme
1 parent 7d09ea5 commit 6ea6c93

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/react-chayns-amountcontrol/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ You can set the following props on a AmountControl element:
5353
| minusIcon | The icon to decrease the amount | string/object | |
5454
| removeIcon | The icon to set the amount to 0 | string/object | |
5555
| contentWidth | The width of the amountControl content | number | |
56+
| min | The minimal value of the AmountControl (onInput will not be validated) | number | |
57+
| max | The maximal value of the AmountControl (onInput will not be validated) | number | |
5658

5759
The shopStyle property is deprecated and will no longer be supported. You can get the shopStyle by setting the
5860
icon-, iconColor-, addColor-, removeColor- and focusOnClick-properties.

0 commit comments

Comments
 (0)