@wulperstudio/cms
Version:
Wulper Studio Library Components CMS
21 lines • 675 B
JavaScript
import React from 'react';
import { AvatarGroup } from './styled';
import { jsx as _jsx } from "react/jsx-runtime";
var GroupAvatarsOutput = function GroupAvatarsOutput(_ref) {
var data = _ref.data,
max = _ref.max,
_ref$size = _ref.size,
size = _ref$size === void 0 ? 'small' : _ref$size,
_ref$position = _ref.position,
position = _ref$position === void 0 ? 'start' : _ref$position,
children = _ref.children;
return /*#__PURE__*/_jsx(AvatarGroup, {
size: size,
position: position,
max: max,
children: data == null ? void 0 : data.map(function (item) {
return children(item);
})
});
};
export default GroupAvatarsOutput;