UNPKG

opds-web-client

Version:
22 lines (21 loc) 901 B
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var React = require("react"); var styles_1 = require("./styles"); var SkipNavigationLink = (function (_super) { __extends(SkipNavigationLink, _super); function SkipNavigationLink() { _super.apply(this, arguments); } SkipNavigationLink.prototype.render = function () { return (React.createElement("div", {style: styles_1.visuallyHiddenStyle}, React.createElement("a", {className: "skipNavigation", href: "#main"}, "Skip Navigation"))); }; return SkipNavigationLink; }(React.Component)); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = SkipNavigationLink; ;