Counter
A numeric input component with increment and decrement buttons
Counter
A component for incrementing and decrementing numeric values with a clean interface.
Import
Props
| Prop | Type | Default | Description | 
|---|---|---|---|
| label | string | Required | The label displayed next to the counter | 
| value | number | undefined | The controlled value of the counter | 
| onChange | (value: number | undefined) => void | — | Called when the value changes | 
| min | number | 0 | Minimum allowed value | 
| max | number | 99 | Maximum allowed value | 
| className | string | — | Additional class names for the container | 
| style | ViewStyle | — | Custom styles for the container |