File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed
Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1212 "react" : " 17.0.1" ,
1313 "react-dom" : " ^17.0.1" ,
1414 "react-native" : " https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz" ,
15- "react-native-input-spinner" : " ^1.4.5 " ,
15+ "react-native-input-spinner" : " ^1.4.6 " ,
1616 "react-native-web" : " ^0.14.10"
1717 },
1818 "prettier" : {
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-input-spinner" ,
3- "version" : " 1.4.5 " ,
3+ "version" : " 1.4.6 " ,
44 "description" : " React native input with increase and decrease buttons" ,
55 "main" : " ./src/index.js" ,
66 "types" : " ./src/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -1048,6 +1048,7 @@ InputSpinner.propTypes = {
10481048 min : PropTypes . oneOfType ( [ PropTypes . string , PropTypes . number ] ) ,
10491049 max : PropTypes . oneOfType ( [ PropTypes . string , PropTypes . number ] ) ,
10501050 value : PropTypes . oneOfType ( [ PropTypes . string , PropTypes . number ] ) ,
1051+ initialValue : PropTypes . oneOfType ( [ PropTypes . string , PropTypes . number ] ) ,
10511052 step : PropTypes . oneOfType ( [ PropTypes . string , PropTypes . number ] ) ,
10521053 precision : PropTypes . number ,
10531054 rounded : PropTypes . bool ,
Original file line number Diff line number Diff line change 1- import { Component } from "react" ;
1+ import React , { Component } from "react" ;
22import { StyleProp , ViewStyle } from "react-native" ;
33
44export interface ReactNativeInputSpinnerProps {
55 type ?: string ;
66 min ?: string | number ;
77 max ?: string | number ;
88 value ?: string | number ;
9+ initialValue ?: string | number ;
910 step ?: string | number ;
1011 precision ?: number ;
1112 rounded ?: boolean ;
You can’t perform that action at this time.
0 commit comments