File tree Expand file tree Collapse file tree 2 files changed +2
-64
lines changed
reason-react-native/src/components Expand file tree Collapse file tree 2 files changed +2
-64
lines changed Original file line number Diff line number Diff line change @@ -7,44 +7,13 @@ wip: true
77``` reason
88include NativeElement;
99
10- type imageStyle;
11-
12- [@bs.obj]
13- external imageStyle:
14- (
15- ~backfaceVisibility: [@bs.string] [ | `visible | `hidden]=?,
16- ~backgroundColor: Color.t=?,
17- ~borderColor: Color.t=?,
18- ~borderRadius: float=?,
19- ~borderBottomLeftRadius: float=?,
20- ~borderBottomRightRadius: float=?,
21- ~borderTopLeftRadius: float=?,
22- ~borderTopRightRadius: float=?,
23- ~borderWidth: float=?,
24- ~opacity: float=?,
25- ~overflow: [@bs.string] [ | `visible | `hidden]=?,
26- ~resizeMode: [@bs.string] [
27- | `cover
28- | `contain
29- | `stretch
30- | `repeat
31- | `center
32- ]
33- =?,
34- ~overlayColor: Color.t=?,
35- ~tintColor: Color.t=?,
36- unit
37- ) =>
38- imageStyle =
39- "";
40-
4110[@react.component] [@bs.module "react-native"]
4211external make:
4312 (
4413 ~ref: ref=?,
4514 // ImageBackground props
4615 ~imageRef: Image.ref=?,
47- ~imageStyle: imageStyle =?,
16+ ~imageStyle: Style.t =?,
4817 // Image props
4918 ~accessibilityLabel: string=?,
5019 ~accessible: bool=?,
Original file line number Diff line number Diff line change 11include NativeElement ;
22
3- type imageStyle ;
4-
5- [@ bs . obj ]
6- external imageStyle :
7- (
8- ~backfaceVisibility : [@ bs . string ] [ | ` visible | ` hidden ] =?,
9- ~backgroundColor : Color . t =?,
10- ~borderColor : Color . t =?,
11- ~borderRadius : float =?,
12- ~borderBottomLeftRadius : float =?,
13- ~borderBottomRightRadius : float =?,
14- ~borderTopLeftRadius : float =?,
15- ~borderTopRightRadius : float =?,
16- ~borderWidth : float =?,
17- ~opacity : float =?,
18- ~overflow : [@ bs . string ] [ | ` visible | ` hidden ] =?,
19- ~resizeMode : [@ bs . string ] [
20- | ` cover
21- | ` contain
22- | ` stretch
23- | ` repeat
24- | ` center
25- ]
26- =?,
27- ~overlayColor : Color . t =?,
28- ~tintColor : Color . t =?,
29- unit
30- ) =>
31- imageStyle =
32- "" ;
33-
343[@ react . component ] [@ bs . module "react-native" ]
354external make :
365 (
376 ~ref : ref =?,
387 // ImageBackground props
398 ~imageRef : Image . ref =?,
40- ~imageStyle : imageStyle =?,
9+ ~imageStyle : Style . t =?,
4110 // Image props
4211 ~accessibilityLabel : string =?,
4312 ~accessible : bool =?,
You can’t perform that action at this time.
0 commit comments