Skip to content

Commit 8c7ec78

Browse files
authored
Remove deprecated ViewPropTypes (callstack#169)
1 parent 359228e commit 8c7ec78

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.flowconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ node_modules/warning/.*
1717

1818
[untyped]
1919
.*/node_modules/@react-native-community/cli/.*/.*
20-
.*/node_modules/react-native
2120

2221
[include]
2322

js/MaskedViewTypes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// @flow
22
import { type Node, type Element } from 'react';
3-
import { ViewPropTypes } from 'react-native';
3+
import { type ViewProps } from 'react-native/Libraries/Components/View/ViewPropTypes';
44

5-
export type MaskedViewProps = typeof ViewPropTypes &
5+
export type MaskedViewProps = $Shape<ViewProps> &
66
$ReadOnly<{|
77
children: Node,
88
/**

0 commit comments

Comments
 (0)