Module ImageBackground-BsReactNative
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:BsReactNative.Image.imageSource => ?style:BsReactNative.Style.t => ?imageStyle:BsReactNative.Style.t => ?testID:string => ?resizeMethod:[< `auto | `resize | `scale ] => ?accessibilityLabel:string => ?accessible:bool => ?blurRadius:float => ?capInsets:BsReactNative.Types.insets => ?defaultSource:BsReactNative.Image.defaultSource => ?onPartialLoad:(unit => unit) => ?onProgress:(Event.progress => unit) => array(ReasonReact.reactElement) => ReasonReact.component(ReasonReact.stateless, ReasonReact.noRetainedProps, unit);
ImageBackground
component has the same props asImage
component You can read more on ImageBackground component usage in official docs: https://facebook.github.io/react-native/docs/images