function _templateObject() {
  var data = _taggedTemplateLiteral(["\n        text-align: center;\n        margin: 1.5em auto;\n      "]);

  _templateObject = function _templateObject() {
    return data;
  };

  return data;
}

function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }

import { jsx, css } from "@emotion/core";
import PropTypes from "prop-types";
import CivicCardLink from "./CivicCardLink";

function CivicCardLayoutVisualizationOnly(_ref) {
  var isLoading = _ref.isLoading,
      data = _ref.data,
      cardMeta = _ref.cardMeta;
  return jsx("div", {
    css: css(_templateObject())
  }, jsx(cardMeta.visualization, {
    isLoading: isLoading,
    data: data
  }), jsx(CivicCardLink, {
    slug: cardMeta.slug
  }, "Learn more"));
}

CivicCardLayoutVisualizationOnly.propTypes = {
  isLoading: PropTypes.bool,
  data: PropTypes.oneOfType([PropTypes.shape({}), PropTypes.array]),
  cardMeta: PropTypes.shape({})
};
export default CivicCardLayoutVisualizationOnly;