File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ const SliderComponent = (
233
233
const defaultStyle =
234
234
Platform . OS === 'ios' ? styles . defaultSlideriOS : styles . defaultSlider ;
235
235
const sliderStyle = { zIndex : 1 , width : width } ;
236
- const style = [ props . style , defaultStyle ] ;
236
+ const style = [ defaultStyle , props . style ] ;
237
237
238
238
const onValueChangeEvent = ( event : Event ) => {
239
239
onValueChange && onValueChange ( event . nativeEvent . value ) ;
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ exports[`<Slider /> accessibilityState disabled sets disabled={true} 1`] = `
6
6
style={
7
7
[
8
8
[
9
- undefined,
10
9
{
11
10
"height": 40,
12
11
},
12
+ undefined,
13
13
],
14
14
{
15
15
"justifyContent": "center",
@@ -63,10 +63,10 @@ exports[`<Slider /> disabled prop overrides accessibilityState.disabled 1`] = `
63
63
style={
64
64
[
65
65
[
66
- undefined,
67
66
{
68
67
"height": 40,
69
68
},
69
+ undefined,
70
70
],
71
71
{
72
72
"justifyContent": "center",
@@ -120,10 +120,10 @@ exports[`<Slider /> disabled prop overrides accessibilityState.enabled 1`] = `
120
120
style={
121
121
[
122
122
[
123
- undefined,
124
123
{
125
124
"height": 40,
126
125
},
126
+ undefined,
127
127
],
128
128
{
129
129
"justifyContent": "center",
@@ -177,10 +177,10 @@ exports[`<Slider /> renders a slider with custom props 1`] = `
177
177
style={
178
178
[
179
179
[
180
- undefined,
181
180
{
182
181
"height": 40,
183
182
},
183
+ undefined,
184
184
],
185
185
{
186
186
"justifyContent": "center",
@@ -233,10 +233,10 @@ exports[`<Slider /> renders a slider with custom stepMaker 1`] = `
233
233
style={
234
234
[
235
235
[
236
- undefined,
237
236
{
238
237
"height": 40,
239
238
},
239
+ undefined,
240
240
],
241
241
{
242
242
"justifyContent": "center",
@@ -32337,10 +32337,10 @@ exports[`<Slider /> renders disabled slider 1`] = `
32337
32337
style={
32338
32338
[
32339
32339
[
32340
- undefined,
32341
32340
{
32342
32341
"height": 40,
32343
32342
},
32343
+ undefined,
32344
32344
],
32345
32345
{
32346
32346
"justifyContent": "center",
@@ -32394,10 +32394,10 @@ exports[`<Slider /> renders enabled slider 1`] = `
32394
32394
style={
32395
32395
[
32396
32396
[
32397
- undefined,
32398
32397
{
32399
32398
"height": 40,
32400
32399
},
32400
+ undefined,
32401
32401
],
32402
32402
{
32403
32403
"justifyContent": "center",
You can’t perform that action at this time.
0 commit comments