"use strict";

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

var _react2 = require("@storybook/react");

var _grid = require("../Grid/grid");

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 storiesForRow = (0, _react2.storiesOf)("Layout|Grid", module);
storiesForRow.addDecorator(function (story) {
  return _react["default"].createElement("div", {
    id: "root-preview"
  }, story());
});
var additionalProps = {
  style: {
    border: "1px solid black"
  }
};
storiesForRow.add("Default", function () {
  return _react["default"].createElement(_grid.GridContainer, null, _react["default"].createElement(_grid.Grid, null, _react["default"].createElement(_grid.GridCell, _extends({
    large: 12,
    medium: 8,
    small: 4
  }, additionalProps), "Full-width Content"), _react["default"].createElement(_grid.GridCell, _extends({
    large: 6,
    medium: 4,
    small: 2
  }, additionalProps), "Half-width Content"), _react["default"].createElement(_grid.GridCell, _extends({
    large: 6,
    medium: 4,
    small: 2
  }, additionalProps), "Half-width Content")));
});