Skip to content

Commit 1e44300

Browse files
authored
chore: apply style to match iOS 13 Segmented Control (#78)
1 parent ed07ac3 commit 1e44300

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

js/SegmentedControl.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,11 @@ const styles = StyleSheet.create({
122122
},
123123
slider: {
124124
position: 'absolute',
125-
left: 0,
126-
height: '100%',
127125
borderRadius: 5,
126+
top: 1,
127+
bottom: 1,
128+
right: 1,
129+
left: 1,
128130
},
129131
});
130132

0 commit comments

Comments
 (0)