File tree Expand file tree Collapse file tree 6 files changed +36
-29
lines changed Expand file tree Collapse file tree 6 files changed +36
-29
lines changed Original file line number Diff line number Diff line change 11'use strict' ;
22
33
4- var Orientation = /* module */ [
5- /* landscape */ "landscape" ,
6- /* landscapeLeft */ "landscape-left" ,
7- /* landscapeRight */ "landscape-right" ,
8- /* portrait */ "portrait" ,
9- /* portraitUpsideDown */ "portrait-upside-down"
10- ] ;
4+ var Orientation = 0 ;
115
126exports . Orientation = Orientation ;
137/* No side effect */
Original file line number Diff line number Diff line change @@ -8,17 +8,7 @@ wip: true
88type element;
99type ref = React.Ref.t(Js.nullable(element));
1010
11- module Orientation = {
12- type t;
13-
14- external fromString: string => t = "%identity";
15-
16- let landscape = "landscape"->fromString;
17- let landscapeLeft = "landscape-left"->fromString;
18- let landscapeRight = "landscape-right"->fromString;
19- let portrait = "portrait"->fromString;
20- let portraitUpsideDown = "portrait-upside-down"->fromString;
21- };
11+ module Orientation = Modal_Orientation;
2212
2313[@react.component] [@bs.module "react-native"]
2414external make:
Original file line number Diff line number Diff line change 11type element ;
22type ref = React . Ref . t (Js . nullable (element ));
33
4- module Orientation = {
5- type t ;
6-
7- external fromString : string => t = "% identity " ;
8-
9- let landscape = "landscape" -> fromString;
10- let landscapeLeft = "landscape-left" -> fromString;
11- let landscapeRight = "landscape-right" -> fromString;
12- let portrait = "portrait" -> fromString;
13- let portraitUpsideDown = "portrait-upside-down" -> fromString;
14- };
4+ module Orientation = Modal_Orientation ;
155
166[@ react . component ] [@ bs . module "react-native" ]
177external make :
Original file line number Diff line number Diff line change 1+ /* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */
Original file line number Diff line number Diff line change 1+ type t = string ;
2+
3+ [@ bs . inline ]
4+ let landscape = "landscape" ;
5+
6+ [@ bs . inline ]
7+ let landscapeLeft = "landscape-left" ;
8+
9+ [@ bs . inline ]
10+ let landscapeRight = "landscape-right" ;
11+
12+ [@ bs . inline ]
13+ let portrait = "portrait" ;
14+
15+ [@ bs . inline ]
16+ let portraitUpsideDown = "portrait-upside-down" ;
Original file line number Diff line number Diff line change 1+ type t ;
2+
3+ [@ bs . inline "landscape" ]
4+ let landscape : t ;
5+
6+ [@ bs . inline "landscape-left" ]
7+ let landscapeLeft : t ;
8+
9+ [@ bs . inline "landscape-right" ]
10+ let landscapeRight : t ;
11+
12+ [@ bs . inline "portrait" ]
13+ let portrait : t ;
14+
15+ [@ bs . inline "portrait-upside-down" ]
16+ let portraitUpsideDown : t ;
You can’t perform that action at this time.
0 commit comments