Skip to content

Commit 9a3dde4

Browse files
committed
fix: lint
1 parent 0a30cdb commit 9a3dde4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

js/SegmentedControl.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ const SegmentedControl = ({
101101
nativeEvent: {
102102
layout: {width},
103103
},
104-
}) => updateSegmentWidth(width)}
105-
>
104+
}) => updateSegmentWidth(width)}>
106105
{!backgroundColor && !tintColor && (
107106
<SegmentsSeparators
108107
values={values.length}

js/types.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ export type SegmentedControlProps = $ReadOnly<{|
112112
* array testID to each segment button
113113
*/
114114
testIDS: $ReadOnlyArray<string>,
115+
/**
115116
* Style properties for the slider component (Animated.View)
116117
*/
117-
sliderStyle?: ViewStyle,
118+
sliderStyle?: ViewStyle,
118119
|}>;

0 commit comments

Comments
 (0)