"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = exports.SkipNav = void 0;
var _i18n = require("../i18n");
var _jsxRuntime = require("react/jsx-runtime");
/**
 * For information about how and when to use this component,
 * [refer to its full documentation page](https://design.cms.gov/components/skip-nav/).
 */
const SkipNav = _ref => {
  let {
    children,
    href,
    onClick
  } = _ref;
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("a", {
    className: "ds-c-skip-nav",
    href: href,
    onClick: onClick,
    children: children ?? (0, _i18n.t)('skipNav.default')
  });
};
exports.SkipNav = SkipNav;
var _default = exports.default = SkipNav;