Skip to content

Commit

Permalink
Remove deprecated ViewPropTypes (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
Naturalclar authored Jul 14, 2022
1 parent 359228e commit 8c7ec78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ node_modules/warning/.*

[untyped]
.*/node_modules/@react-native-community/cli/.*/.*
.*/node_modules/react-native

[include]

Expand Down
4 changes: 2 additions & 2 deletions js/MaskedViewTypes.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// @flow
import { type Node, type Element } from 'react';
import { ViewPropTypes } from 'react-native';
import { type ViewProps } from 'react-native/Libraries/Components/View/ViewPropTypes';

export type MaskedViewProps = typeof ViewPropTypes &
export type MaskedViewProps = $Shape<ViewProps> &
$ReadOnly<{|
children: Node,
/**
Expand Down

0 comments on commit 8c7ec78

Please sign in to comment.