Merge pull request #28520 from thymikee/fix/flow-types

[General] [Fixed] Flow errors from YellowBox and BubblingEventHandler
This commit is contained in:
Eloy Durán
2020-04-07 11:58:19 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
@@ -15,6 +15,7 @@ import type {HostComponent} from '../Renderer/shims/ReactNativeTypes';
import type {
WithDefault,
DirectEventHandler,
BubblingEventHandler,
Int32,
} from '../Types/CodegenTypes';
@@ -61,7 +61,7 @@ const YellowBoxInspectorHeader = (props: Props): React.Node => {
const YellowBoxInspectorHeaderButton = (
props: $ReadOnly<{|
disabled: boolean,
image: string,
image: number,
onPress?: ?() => void,
|}>,
): React.Node => (