import _taggedTemplateLiteralLoose from "@babel/runtime/helpers/taggedTemplateLiteralLoose";

var _templateObject;

import React from 'react';
import styled from 'styled-components';
import { CookiesTable } from '@sentecacommerce-theme/lib';
import { Button } from '../../../Common';
import { IconArrowLeft } from '../../../Common/Icons';
export var Details = (_ref) => {
  var {
    goBack,
    handleBack,
    labels,
    cookie,
    cookiesMap
  } = _ref;
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Content, null, /*#__PURE__*/React.createElement(Button, {
    icon: /*#__PURE__*/React.createElement(IconArrowLeft, null),
    iconPosition: "left",
    onClick: handleBack,
    label: goBack,
    fullWidth: true,
    variant: "secondary",
    style: {
      marginTop: '-1.5rem',
      marginBottom: '1rem'
    }
  }), /*#__PURE__*/React.createElement(CookiesTable, {
    details: labels,
    cookie: cookie,
    cookiesMap: cookiesMap
  })));
};
var Content = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteralLoose([""])));
//# sourceMappingURL=index.js.map