react-web-native-sketch
Version:
[TODO: We need an overview of how this can be used via npm vs as a local package]
24 lines • 740 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var enums_1 = require("../../utils/enums");
var windowHeight = 767, windowWidth = 1767;
exports.isWeb = false;
exports.isIOS = false;
exports.isAndroid = false;
exports.isSketch = true;
exports.getWindowHeight = function () { return windowHeight; };
exports.getWindowWidth = function () { return windowWidth; };
exports.setWindowHeight = function (newHeight) {
windowHeight = newHeight;
};
exports.setWindowWidth = function (newWidth) {
windowWidth = newWidth;
};
exports.getStorage = function () {
return {};
};
function getPlatform() {
return enums_1.PLATFORM.WEB;
}
exports.getPlatform = getPlatform;
//# sourceMappingURL=platform.sketch.js.map