Fix flow types (#320)

This commit is contained in:
David Narbutovich(g) 2018-10-22 03:50:48 +03:00 committed by Dylan Vann
parent 8f702ed1d9
commit ba447531ac
1 changed files with 2 additions and 2 deletions

View File

@ -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,