Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ibash committed Jul 2, 2024
1 parent 38faf7e commit f0638a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
7 changes: 1 addition & 6 deletions package/src/Slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React, {useState} from 'react';
import {
Image,
Platform,
StyleSheet,
AccessibilityActionEvent,
ViewProps,
ViewStyle,
Expand Down Expand Up @@ -309,11 +308,7 @@ const SliderComponent = (
: Image.resolveAssetSource(props.thumbImage)
}
ref={forwardedRef}
style={[
styles.sliderStyle,
{width: width},
props.sliderStyle
]}
style={[styles.sliderStyle, {width: width}, props.sliderStyle]}
onChange={onValueChangeEvent}
onRNCSliderSlidingStart={onSlidingStartEvent}
onRNCSliderSlidingComplete={onSlidingCompleteEvent}
Expand Down
5 changes: 2 additions & 3 deletions package/src/utils/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import {Platform, StyleSheet} from 'react-native';
export const styles = StyleSheet.create({
containerStyle: {
justifyContent: 'center',
height: Platform.OS === 'ios' ? 40 : undefined
height: Platform.OS === 'ios' ? 40 : undefined,
},
sliderStyle: {
alignContent: 'center',
alignItems: 'center',
zIndex: 1,
height: Platform.OS === 'ios' ? 40 : undefined
height: Platform.OS === 'ios' ? 40 : undefined,
},
stepNumber: {
marginTop: 20,
Expand Down Expand Up @@ -47,5 +47,4 @@ export const styles = StyleSheet.create({
alignItems: 'center',
alignContent: 'center',
},

});

0 comments on commit f0638a6

Please sign in to comment.