"use strict";

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

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

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

var _ = require(".");

var _2 = require("..");

var _Box = require("../Box");

var __jsx = _react2["default"].createElement;
var stories = (0, _react.storiesOf)('Avatar', module);
stories.addDecorator(function (story) {
  return __jsx(_Box.Box, {
    maxWidth: "lg",
    mt: "40px",
    mx: "auto"
  }, story());
});
stories.add('Default', function () {
  return __jsx(_react2["default"].Fragment, null, ['xs', 'sm', 'md', 'lg', 'xl', '2xl'].map(function (size) {
    return __jsx(_.Avatar, {
      mr: "spacing-sm",
      size: size,
      name: "Uchiha Itachi",
      src: "https://bit.ly/uchiha-itachi"
    }, __jsx(_.AvatarBadge, {
      size: "1.25em"
    }));
  }));
});
stories.add('Avatar Group', function () {
  return __jsx(_2.AvatarGroup, {
    size: "md",
    max: 2
  }, __jsx(_.Avatar, {
    name: "Uchiha Itachi",
    src: "https://bit.ly/uchiha-itachi"
  }), __jsx(_.Avatar, {
    name: "Uchiha Sasuke",
    src: "https://vignette.wikia.nocookie.net/naruto/images/2/21/Sasuke_Part_1.png/revision/latest?cb=20170716092103"
  }), __jsx(_.Avatar, {
    name: "Uchiha Sasuke",
    src: "https://vignette.wikia.nocookie.net/naruto/images/2/21/Sasuke_Part_1.png/revision/latest?cb=20170716092103"
  }), __jsx(_.Avatar, {
    name: "Uchiha Sasuke",
    src: "https://vignette.wikia.nocookie.net/naruto/images/2/21/Sasuke_Part_1.png/revision/latest?cb=20170716092103"
  }), __jsx(_.Avatar, {
    name: "Uchiha Sasuke",
    src: "https://vignette.wikia.nocookie.net/naruto/images/2/21/Sasuke_Part_1.png/revision/latest?cb=20170716092103"
  }));
});
//# sourceMappingURL=examples.js.map