"use strict";

var _ = _interopRequireDefault(require(".."));

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

var _reactDom = _interopRequireDefault(require("react-dom"));

var _2 = require("../..");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

var commonProps = {
  title: 'Title',
  style: {
    width: 300
  },
  subTitle: 'Sub-title',
  extra: /*#__PURE__*/_react["default"].createElement(_2.Button, {
    text: true,
    type: "primary"
  }, "Link")
};

_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement(_2.Box, {
  direction: "row",
  spacing: 20
}, /*#__PURE__*/_react["default"].createElement(_["default"], {
  free: true,
  style: {
    width: 300
  }
}, /*#__PURE__*/_react["default"].createElement(_["default"].Header, _extends({
  title: "Simple Card"
}, commonProps)), /*#__PURE__*/_react["default"].createElement(_["default"].Divider, null), /*#__PURE__*/_react["default"].createElement(_["default"].Content, null, "Lorem ipsum dolor sit amet, est viderer iuvaret perfecto et. Ne petentium quaerendum nec, eos ex recteque mediocritatem, ex usu assum legendos temporibus. Ius feugiat pertinacia an, cu verterem praesent quo."), /*#__PURE__*/_react["default"].createElement(_["default"].Divider, null), /*#__PURE__*/_react["default"].createElement(_["default"].Actions, null, /*#__PURE__*/_react["default"].createElement(_2.Button, {
  type: "primary",
  key: "action1",
  text: true
}, "Action 1"), /*#__PURE__*/_react["default"].createElement(_2.Button, {
  type: "primary",
  key: "action2",
  text: true
}, "Action 2"))), /*#__PURE__*/_react["default"].createElement(_["default"], {
  free: true,
  style: {
    width: 300
  }
}, /*#__PURE__*/_react["default"].createElement(_["default"].Header, _extends({
  title: "Simple Card"
}, commonProps)), /*#__PURE__*/_react["default"].createElement(_["default"].Divider, {
  inset: true
}), /*#__PURE__*/_react["default"].createElement(_["default"].Content, null, "Lorem ipsum dolor sit amet, est viderer iuvaret perfecto et. Ne petentium quaerendum nec, eos ex recteque mediocritatem, ex usu assum legendos temporibus. Ius feugiat pertinacia an, cu verterem praesent quo."), /*#__PURE__*/_react["default"].createElement(_["default"].Divider, {
  inset: true
}), /*#__PURE__*/_react["default"].createElement(_["default"].Actions, null, /*#__PURE__*/_react["default"].createElement(_2.Button, {
  type: "primary",
  key: "action1",
  text: true
}, "Action 1"), /*#__PURE__*/_react["default"].createElement(_2.Button, {
  type: "primary",
  key: "action2",
  text: true
}, "Action 2")))), document.getElementById('card-demo-2'));