import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
import { createElement } from 'react';
import { Link } from 'gatsby';

function BaseLink(_ref) {
  var to = _ref.to,
      role = _ref.role,
      children = _ref.children,
      rest = _objectWithoutProperties(_ref, ["to", "role", "children"]);

  return /*#__PURE__*/createElement(Link, _extends({
    to: to,
    role: role
  }, rest), children);
}
BaseLink.__docgenInfo = {
  "description": "",
  "methods": [],
  "displayName": "BaseLink"
};

if (typeof STORYBOOK_REACT_CLASSES !== "undefined") {
  STORYBOOK_REACT_CLASSES["src/components/BaseLink/BaseLink.tsx"] = {
    name: "BaseLink",
    docgenInfo: BaseLink.__docgenInfo,
    path: "src/components/BaseLink/BaseLink.tsx"
  };
}

export { BaseLink };
//# sourceMappingURL=BaseLink.esm.js.map
