mirror of
https://github.com/status-im/react-native-fast-image.git
synced 2025-02-23 11:48:16 +00:00
Fix flow types (#320)
This commit is contained in:
parent
8f702ed1d9
commit
ba447531ac
@ -51,10 +51,10 @@ export type FastImageSource = {
|
||||
export type FastImageProps = $ReadOnly<{|
|
||||
...ViewProps,
|
||||
onError?: ?() => void,
|
||||
onLoad?: ?(event?: OnLoadEvent) => void,
|
||||
onLoad?: ?(event: OnLoadEvent) => void,
|
||||
onLoadEnd?: ?() => void,
|
||||
onLoadStart?: ?() => void,
|
||||
onProgress?: ?(event?: OnProgressEvent) => void,
|
||||
onProgress?: ?(event: OnProgressEvent) => void,
|
||||
|
||||
source: FastImageSource | number,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user