import _extends from "@babel/runtime/helpers/extends";
import React from 'react';
import Avatar from './Avatar';
import avatars from '../../static/data/avatar';
export default {
  component: Avatar,
  title: 'Avatar'
};

var Wrapper = function Wrapper(_ref) {
  var props = _extends({}, _ref);

  return /*#__PURE__*/React.createElement("div", _extends({
    style: {
      marginRight: '12px'
    }
  }, props));
};

export var Main = function Main() {
  return /*#__PURE__*/React.createElement("div", {
    style: {
      display: 'flex',
      flexDirection: 'column'
    }
  }, ['tiny', 'small', 'medium', 'large', 'hero'].map(function (size) {
    return /*#__PURE__*/React.createElement("div", {
      key: size,
      style: {
        marginBottom: '24px',
        display: 'flex'
      }
    }, /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Avatar, {
      size: size,
      imageUrl: avatars[0].image
    })), /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Avatar, {
      size: size,
      imageUrl: avatars[1].image
    })), /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Avatar, {
      size: size,
      fullName: "John Doe"
    })), /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Avatar, {
      size: size,
      fullName: "John Doe",
      id: "1"
    })), /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Avatar, {
      size: size,
      fullName: "Lowie Benoot",
      id: "2"
    })), /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Avatar, {
      size: size,
      fullName: "Teamleader Development",
      id: "3",
      shape: "rounded"
    })), /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Avatar, {
      size: size,
      fullName: "John Doe",
      creatable: true
    })), /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Avatar, {
      size: size,
      team: true
    })));
  }));
};