Skip to content

Commit 99de53a

Browse files
committed
chore: example is updated and docs update with min-max props
1 parent 2a2f7f7 commit 99de53a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ import CounterInput from "react-native-counter-input";
6666
| onIncreasePress | function | undefined | it triggers when the increase button is pressed |
6767
| onDecreasePress | function | undefined | it triggers when the decrease button is pressed |
6868
| backgroundColor | string | #fff | change the CounterInput's background color |
69+
| min | number | undefined | set a minimum input value |
70+
| max | number | undefined | set a maximum input value |
6971
| increaseButtonBackgroundColor | string | #0b349a | change the CounterInput's active increase button background color |
7072
| decreaseButtonBackgroundColor | string | #0b349a | change the CounterInput's active decrease button background color |
7173
| ImageComponent | component | Image | set your own Image component instead of default `RN Image` component such as; `FastImage` |

0 commit comments

Comments
 (0)