Module Image-BsReactNative.CreateComponent

Parameters

Impl : BsReactNative.View.Impl

Signature

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