"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

exports.__esModule = true;
exports.Navigation = void 0;

var _taggedTemplateLiteralLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteralLoose"));

var _react = _interopRequireDefault(require("react"));

var _styledComponents = _interopRequireDefault(require("styled-components"));

var _NavigationItem = require("./NavigationItem");

var _templateObject;

var Navigation = function Navigation(_ref) {
  var data = _ref.data;
  return /*#__PURE__*/_react["default"].createElement(Container, null, Object.keys(data).map(function (key) {
    return /*#__PURE__*/_react["default"].createElement(_NavigationItem.NavigationItem, {
      key: key,
      url: data[key].url,
      label: data[key].label
    });
  }));
};

exports.Navigation = Navigation;

var Container = _styledComponents["default"].div.attrs({
  className: 'pr-2 pr-lg-4'
})(_templateObject || (_templateObject = (0, _taggedTemplateLiteralLoose2["default"])(["\n  padding-bottom: 3.7rem;\n"])));
//# sourceMappingURL=index.js.map