@tdb/web
Version:
Common condiguration for serving a web-site and testing web-based UI components.
16 lines (15 loc) • 580 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var common_1 = require("../common");
exports.default = (function () {
var isRangeUrl = false;
if (common_1.constants.IS_BROWSER && window.location.pathname.startsWith('/range/')) {
isRangeUrl = true;
}
var rangeMessage = isRangeUrl && '(from range URL)';
return (common_1.React.createElement("div", null,
common_1.React.createElement("h1", null,
"b.tsx ",
rangeMessage),
common_1.React.createElement("a", { href: '/' }, "Home")));
});