Skip to content

Commit 74221bf

Browse files
authored
fix: wrong children type (#166)
1 parent 65aed1a commit 74221bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

typings/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ export interface ViewPagerProps {
6969
*/
7070
pageMargin?: number;
7171

72-
style?: ReactNative.StyleProp<ReactNative.ViewStyle>
72+
style?: ReactNative.StyleProp<ReactNative.ViewStyle>;
7373

74-
children?: React.ReactChildren
74+
children: React.ReactNode;
7575

7676
/**
7777
* If a parent `View` wants to prevent a child `View` from becoming responder

0 commit comments

Comments
 (0)