Skip to content

Commit 8a2f247

Browse files
committed
fix flow
1 parent a426efa commit 8a2f247

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

js/SegmentedControlIOS.ios.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,10 @@ const styles = StyleSheet.create({
8484
},
8585
});
8686

87-
// $FlowFixMe
88-
const SegmentedControlIOSWithRef = React.forwardRef(
87+
const SegmentedControlIOSWithRef = React.forwardRef<
88+
SegmentedControlIOSProps,
89+
RNCSegmentedControlNativeComponent,
90+
>(
8991
(
9092
props: SegmentedControlIOSProps,
9193
forwardedRef: ?React.Ref<typeof RNCSegmentedControlNativeComponent>,

0 commit comments

Comments
 (0)