Skip to content

Commit bbc1f23

Browse files
committed
📝 Update AmountControl docs according to disableAdd changes
1 parent 75d0909 commit bbc1f23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/react-chayns-amountcontrol/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ You can set the following props on a AmountControl element:
3737
| onRemove | Function that is called when the user click on the remove button | function | |
3838
| equalize | Equalizes a set of AmountControls (see examples) | string | |
3939
| disabled | Disables all buttons and inputs | bool | |
40-
| disableAdd | Disables the add button | bool | |
40+
| disableAdd | Disables the add button and prevents adding items using the input | bool | |
4141
| disableInput | Disables the input field (forces the user to use the control-buttons) | bool | |
42-
| disableRemove | Disables the remove button | bool | |
42+
| disableRemove | Disables the remove button and prevents removing items using the input | bool | |
4343
| autoInput | Shows an input at amount >= 10 | bool | false |
4444
| showInput | Shows the input as long the buttons are not disabled | bool | false |
4545
| buttonFormatHandler | A function that should return the button-content | func | |

0 commit comments

Comments
 (0)