Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui / dist / components / features / SkipNav / Anchor.js
Size: Mime:
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

const tslib_1 = require("tslib");

const react_1 = tslib_1.__importDefault(require("react"));
/**
 * @description this makes the link go to `main`
 * @todo this file is unused, but should be used...
 */


class Anchor extends react_1.default.PureComponent {
  render() {
    const {
      identifier
    } = this.props;
    return react_1.default.createElement("a", {
      name: identifier,
      id: identifier,
      tabIndex: "-1"
    });
  }

}

Anchor.defaultProps = {
  identifier: 'main'
};
exports.Anchor = Anchor;
exports.default = Anchor; //# sourceMappingURL=Anchor.js.map