UNPKG

opds-web-client

Version:
22 lines (21 loc) 906 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"); require("../stylesheets/visually_hidden.scss"); var SkipNavigationLink = (function (_super) { __extends(SkipNavigationLink, _super); function SkipNavigationLink() { _super.apply(this, arguments); } SkipNavigationLink.prototype.render = function () { return (React.createElement("div", {className: "visually-hidden"}, React.createElement("a", {className: "skipNavigation", href: "#main"}, "Skip Navigation"))); }; return SkipNavigationLink; }(React.Component)); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = SkipNavigationLink; ;