|
26 | 26 | | `buttonTextColor` | Custom color of the button of the Spinner | String | Auto | | |
27 | 27 | | `buttonPressTextStyle` | Button Style on Pressed state (Plus and Minus buttons) | Object | | Could overwrite other props | |
28 | 28 | | `buttonTextStyle` | Button text Style state (Plus and Minus buttons) | Object | | Could overwrite other props | |
29 | | -| `colorAsBackground` | Use color as background | Bool | `false` | |
| 29 | +| `colorAsBackground` | Use color as background | Bool | `false` | | |
30 | 30 | | `colorLeft` | Custom color of the Spinner left button | String | `#3E525F` | | |
31 | 31 | | `colorMax` | Custom color of the Spinner when reach max value | String | | | |
32 | 32 | | `colorMin` | Custom color of the Spinner when reach min value | String | | | |
|
39 | 39 | | `emptied` | Set if input can be empty | Boolean | `false` | | |
40 | 40 | | `fontFamily` | Custom fontFamily of the text input of the Spinner | String | System Default | | |
41 | 41 | | `fontSize` | Custom fontSize of the text input of the Spinner | Number | `14` | | |
| 42 | +| `formatter` | Custom formatting of the Spinner text | Function | `null` | `(value) => { ...; return formattedValue }`. `editable` must be `false` | |
42 | 43 | | `height` | Custom height of the Spinner | Number | `50` | | |
43 | 44 | | `initialValue` | Initial value of the Spinner | String<br>Number | `0` | | |
44 | 45 | | `inputStyle` | Input Style (Text number at middle) | Object | | Could overwrite other props | |
45 | 46 | | `inputProps` | Customized TextInput Component props | Object | `null` | | |
46 | 47 | | `leftButtonProps` | Customized left button (Touchable Component) props | Object | `null` | | |
47 | | -| `longStep` | Value to increment or decrement the current spinner value `onLongPress` | String<br>Number | `step` | |
| 48 | +| `longStep` | Value to increment or decrement the current spinner value `onLongPress` | String<br>Number | `step` | | |
48 | 49 | | `maxLength` | Limits the maximum number of characters that can be entered. | Number | | | |
49 | 50 | | `max` | Max number permitted | String<br>Number | `null` | | |
50 | 51 | | `min` | Min value permitted | String<br>Number | `0` | | |
|
0 commit comments