"use strict";

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

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

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

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

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

var _lib = require("@sentecacommerce-theme/lib");

var _Common = require("../../../Common");

var _Icons = require("../../../Common/Icons");

var _templateObject;

var Details = function Details(_ref) {
  var goBack = _ref.goBack,
      handleBack = _ref.handleBack,
      labels = _ref.labels,
      cookie = _ref.cookie,
      cookiesMap = _ref.cookiesMap;
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(Content, null, /*#__PURE__*/_react["default"].createElement(_Common.Button, {
    icon: /*#__PURE__*/_react["default"].createElement(_Icons.IconArrowLeft, null),
    iconPosition: "left",
    onClick: handleBack,
    label: goBack,
    fullWidth: true,
    variant: "secondary",
    style: {
      marginTop: '-1.5rem',
      marginBottom: '1rem'
    }
  }), /*#__PURE__*/_react["default"].createElement(_lib.CookiesTable, {
    details: labels,
    cookie: cookie,
    cookiesMap: cookiesMap
  })));
};

exports.Details = Details;

var Content = _styledComponents["default"].div(_templateObject || (_templateObject = (0, _taggedTemplateLiteralLoose2["default"])([""])));
//# sourceMappingURL=index.js.map