mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Merge pull request #28520 from thymikee/fix/flow-types
[General] [Fixed] Flow errors from YellowBox and BubblingEventHandler
This commit is contained in:
@@ -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 => (
|
||||
|
||||
Reference in New Issue
Block a user