'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
var React = require('react');
var AvatarGroup_styles = require('./AvatarGroup.styles.js');

function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }

var React__default = /*#__PURE__*/_interopDefault(React);

var _excluded = ["children"];
var avatarGroupRoot = function avatarGroupRoot(Root) {
  return /*#__PURE__*/React.forwardRef(function (props, ref) {
    var children = props.children,
      rest = _rollupPluginBabelHelpers.objectWithoutProperties(props, _excluded);
    return /*#__PURE__*/React__default.default.createElement(Root, _rollupPluginBabelHelpers.extends({
      ref: ref
    }, rest), children);
  });
};
var avatarGroupConfig = {
  name: 'AvatarGroup',
  tag: 'div',
  layout: avatarGroupRoot,
  base: AvatarGroup_styles.base,
  variations: {},
  defaults: {}
};

exports.avatarGroupConfig = avatarGroupConfig;
exports.avatarGroupRoot = avatarGroupRoot;
