react-native-orientation-turbo
Version:
24 lines (23 loc) • 875 B
JavaScript
;
export let LandscapeDirection = /*#__PURE__*/function (LandscapeDirection) {
LandscapeDirection["LEFT"] = "LEFT";
LandscapeDirection["RIGHT"] = "RIGHT";
return LandscapeDirection;
}({});
export let PortraitDirection = /*#__PURE__*/function (PortraitDirection) {
PortraitDirection["UP"] = "UP";
PortraitDirection["UPSIDE_DOWN"] = "UPSIDE_DOWN"; // iOS only
return PortraitDirection;
}({});
export let Orientation = /*#__PURE__*/function (Orientation) {
Orientation["PORTRAIT"] = "PORTRAIT";
Orientation["LANDSCAPE_LEFT"] = "LANDSCAPE_LEFT";
Orientation["LANDSCAPE_RIGHT"] = "LANDSCAPE_RIGHT";
Orientation["PORTRAIT_UPSIDE_DOWN"] = "PORTRAIT_UPSIDE_DOWN";
// iOS only
Orientation["FACE_UP"] = "FACE_UP";
// iOS only
Orientation["FACE_DOWN"] = "FACE_DOWN"; // iOS only
return Orientation;
}({});
//# sourceMappingURL=constants.js.map