Components
Counter
A counter component that allows users to increment or decrement a value. It displays the current value and provides buttons for incrementing and decrementing.
Installation
Usage
Props
| Prop | Type | Default |
|---|---|---|
onValueChange | (value: number) => void | - |
minValue? | number | 0 |
maxValue? | number | 10 |
value? | number | - |
increment? | number | 1 |
emptyLabel? | string | '0' |