Skip to content

Commit 0f63a28

Browse files
committed
docs: add new props
1 parent 1852896 commit 0f63a28

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

PROPS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
| `onFocus` | Callback that is called when the text input is focused. | (e) => { ... } |
4848
| `onIncrease` | When increase button is clicked get value increased | Function | | `(increased) => { ... }` |
4949
| `onKeyPress` | Callback that is called when a key is pressed. | (e) => { ... } |
50+
| `onLongPressDelay` | Delay time before start the `onLong` event and increase or decrease and continually | Number | `750 ` | |
51+
| `onLongPressSpeed` | Speed of increase or decrease and continually | Number | `7` | (value from `1` to `10`) |
5052
| `onMax` | When max is reached get max number permitted | Function | | `(max) => { ... }` |
5153
| `onMin` | When min is reached get min number permitted | Function | | `(min) => { ... }` |
5254
| `onSubmitEditing` | Callback that is called when the text input's submit button is pressed | (e) => { ... } |
@@ -65,5 +67,6 @@
6567
| `style` | Container style | Object | | Could overwrite other props |
6668
| `textColor` | Custom number color | String | `#000000` | |
6769
| `type` | Type of spinner | String | `int` | Can be `int` or `real`/`float`... |
70+
| `typingTime` | Time before debounce and trigger `onChange` event | Number | `750` | |
6871
| `value` | Controlled value of the Spinner | String<br>Number | `0` | |
6972
| `width` | Custom width of the Spinner | Number | `150` | |

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ Check the "[Props List](PROPS.md)" file to have the complete list of component p
112112
| `maxLength` | Limits the maximum number of characters that can be entered. | Number | | |
113113
| `max` | Max number permitted | String<br>Number | `null` |
114114
| `min` | Min value permitted | String<br>Number | `0` |
115+
| `onLongPressDelay` | Delay time before start the `onLong` event and increase or decrease and continually | Number | `750 ` | |
116+
| `onLongPressSpeed` | Speed of increase or decrease and continually | Number | `7` | (value from `1` to `10`) |
115117
| `placeholder` | The string that will be rendered when text input value is equal to zero | String | `null` | |
116118
| `placeholderTextColor` | The text color of the placeholder string. | String | `null` | |
117119
| `precision` | Max numbers permitted after comma | Integer | `2` |
@@ -122,6 +124,7 @@ Check the "[Props List](PROPS.md)" file to have the complete list of component p
122124
| `selectTextOnFocus` | If `true`, all text will automatically be selected on focus. | Bool | `false` | |
123125
| `selectionColor` | The highlight and cursor color of the text input. | String | `null` | |
124126
| `step` | Value to increment or decrement the current spinner value | String<br>Number | `1` |
127+
| `typingTime` | Time before debounce and trigger `onChange` event | Number | `750` | |
125128
| `type` | Type of spinner | String | `int` | Can be `int` or `real`/`float`... |
126129
| `value` | Controlled value of the Spinner | String<br>Number | `0` | |
127130

0 commit comments

Comments
 (0)