Skip to content

Commit a049130

Browse files
committed
[General] [Fixed] Flow errors from YellowBox and BubblingEventHandler
1 parent 25011a6 commit a049130

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Libraries/Modal/RCTModalHostViewNativeComponent.js

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import type {HostComponent} from '../Renderer/shims/ReactNativeTypes';
1515
import type {
1616
WithDefault,
1717
DirectEventHandler,
18+
BubblingEventHandler,
1819
Int32,
1920
} from '../Types/CodegenTypes';
2021

Libraries/YellowBox/UI/YellowBoxInspectorHeader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const YellowBoxInspectorHeader = (props: Props): React.Node => {
6161
const YellowBoxInspectorHeaderButton = (
6262
props: $ReadOnly<{|
6363
disabled: boolean,
64-
image: string,
64+
image: number,
6565
onPress?: ?() => void,
6666
|}>,
6767
): React.Node => (

0 commit comments

Comments
 (0)