@@ -42,11 +42,27 @@ external imageStyle:
4242[@react.component] [@bs.module "react-native"]
4343external make:
4444 (
45- ~imageRef: ref=?,
45+ ~ref: ref=?,
46+ // ImageBackground props
47+ ~imageRef: Image.ref=?,
48+ ~imageStyle: imageStyle=?,
49+ // Image props
50+ ~accessibilityLabel: string=?,
51+ ~accessible: bool=?,
52+ ~blurRadius: float=?,
53+ ~capInsets: Types.edgeInsets=?,
54+ ~defaultSource: Image.DefaultSource.t=?,
55+ ~fadeDuration: float=?,
56+ ~loadingIndicatorSource: array(Image.Source.t)=?,
57+ ~onError: Image.errorEvent => unit=?,
4658 ~onLayout: Event.layoutEvent => unit=?,
4759 ~onLoad: unit => unit=?,
4860 ~onLoadEnd: unit => unit=?,
4961 ~onLoadStart: unit => unit=?,
62+ ~onPartialLoad: unit => unit=?,
63+ ~onProgress: Image.progress => unit=?,
64+ ~progressiveRenderingEnabled: bool=?,
65+ ~resizeMethod: [@bs.string] [ | `auto | `resize | `scale]=?,
5066 ~resizeMode: [@bs.string] [
5167 | `center
5268 | `contain
@@ -57,19 +73,7 @@ external make:
5773 =?,
5874 ~source: Image.Source.t,
5975 ~style: Style.t=?,
60- ~imageStyle: imageStyle=?,
61- ~testID: string=?,
62- ~resizeMethod: [@bs.string] [ | `auto | `resize | `scale]=?,
63- ~accessibilityLabel: string=?,
64- ~accessible: bool=?,
65- ~blurRadius: float=?,
66- ~capInsets: Types.edgeInsets=?,
67- ~defaultSource: Image.DefaultSource.t=?,
68- ~onPartialLoad: unit => unit=?,
69- ~onProgress: Image.progress => unit=?,
70- ~fadeDuration: float=?,
71- ~progressiveRenderingEnabled: bool=?,
72- ~children: React.element=?
76+ ~testID: string=?
7377 ) =>
7478 React.element =
7579 "ImageBackground";
0 commit comments