module Event : { ... };
Module type Image.ImageComponent
let _imageURISource : uri:string => ?bundle:string => ?method:string => ?headers:Js.t('a) => ?body:string => ?cache:[ `default | `reload | `forceCache | `onlyIfCached ] => ?scale:float => ?width:option(float) => ?height:option(float) => unit => _imageURISource;
let imageURISource : uri:string => ?bundle:string => ?method:string => ?headers:Js.t('a) => ?body:string => ?cache:[ `default | `reload | `forceCache | `onlyIfCached ] => ?scale:float => ?width:Style.pt_only => ?height:Style.pt_only => unit => _imageURISource;
type imageSource
=[
|
`URI(_imageURISource)
|
`Required(Packager.required)
|
`Multiple(list(_imageURISource))
]
;type _defaultURISource
;
let _defaultURISource : uri:string => ?scale:float => ?width:option(float) => ?height:option(float) => unit => _defaultURISource;
let defaultURISource : uri:string => ?scale:float => ?width:Style.pt_only => ?height:Style.pt_only => unit => _defaultURISource;
type defaultSource
=[
|
`URI(_defaultURISource)
|
`Required(Packager.required)
]
;
let make : ?onError:(Event.error => unit) => ?onLayout:(RNEvent.NativeLayoutEvent.t => unit) => ?onLoad:(unit => unit) => ?onLoadEnd:(unit => unit) => ?onLoadStart:(unit => unit) => ?resizeMode:[< `center | `contain | `cover | `repeat | `stretch ] => source:imageSource => ?style:Style.t => ?testID:string => ?resizeMethod:[< `auto | `resize | `scale ] => ?accessibilityLabel:string => ?accessible:bool => ?blurRadius:float => ?capInsets:Types.insets => ?defaultSource:defaultSource => ?onPartialLoad:(unit => unit) => ?onProgress:(Event.progress => unit) => array(ReasonReact.reactElement) => ReasonReact.component(ReasonReact.stateless, ReasonReact.noRetainedProps, unit);