File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -658,7 +658,7 @@ export default class MultiSlider extends React.Component {
658
658
) ;
659
659
660
660
return (
661
- < View testID = { this . props . testID } >
661
+ < View style = { this . props ?. wrapperStyle } testID = { this . props . testID } >
662
662
{ this . props . enableLabel && (
663
663
< Label
664
664
oneMarkerValue = { this . state . valueOne }
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ export interface MultiSliderProps {
65
65
66
66
optionsArray ?: number [ ] ;
67
67
68
+ wrapperStyle ?: ViewStyle ;
68
69
containerStyle ?: ViewStyle ;
69
70
trackStyle ?: ViewStyle ;
70
71
selectedStyle ?: ViewStyle ;
@@ -94,6 +95,7 @@ export interface MultiSliderProps {
94
95
imageBackgroundSource ?: string ;
95
96
enableLabel ?: boolean ;
96
97
vertical ?: boolean ;
98
+ testID ?: string ;
97
99
}
98
100
99
101
export default class MultiSlider extends React . Component < MultiSliderProps > { }
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " @ptomasroos /react-native-multi-slider" ,
3
- "version" : " 2.2.2 " ,
2
+ "name" : " @digital-detox /react-native-multi-slider" ,
3
+ "version" : " 2.2.3 " ,
4
4
"description" : " Android and iOS supported pure JS slider component with multiple markers for React Native" ,
5
5
"main" : " MultiSlider.js" ,
6
6
"types" : " index.d.ts" ,
9
9
},
10
10
"repository" : {
11
11
"type" : " git" ,
12
- "url" : " git+https://github.com/ptomasroos /react-native-multi-slider.git"
12
+ "url" : " git+https://github.com/digital-detox /react-native-multi-slider.git"
13
13
},
14
14
"keywords" : [
15
15
" react-native-multi-slider" ,
35
35
" git add"
36
36
]
37
37
},
38
- "author" :
" Tomas Roos <[email protected] >" ,
38
+ "author" :
" Digital Detox (Forked from Tomas Roos <[email protected] >) " ,
39
39
"license" : " MIT" ,
40
40
"peerDependencies" : {
41
41
"react" : " *" ,
46
46
"lint-staged" : " ^7.3.0" ,
47
47
"prettier" : " ^1.14.3"
48
48
},
49
- "bugs" : {
50
- "url" : " https://github.com/ptomasroos/react-native-multi-slider/issues"
51
- },
52
- "homepage" : " https://github.com/ptomasroos/react-native-multi-slider#readme" ,
49
+ "homepage" : " https://github.com/digital-detox/react-native-multi-slider" ,
53
50
"dependencies" : {}
54
51
}
You can’t perform that action at this time.
0 commit comments