UNPKG

@wulperstudio/cms

Version:
21 lines 761 B
import _extends from "@babel/runtime/helpers/esm/extends"; import React from 'react'; import { AvatarGroup } from '@mui/material'; import { Box, Label } from './styled'; import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; var AvatarGroupOutput = function AvatarGroupOutput(props) { return /*#__PURE__*/_jsxs(Box, { showBorder: props.showBorder, backgroundColor: props.backgroundColor, showBoxShadow: props.showBoxShadow, showDivider: props.showDivider, children: [props.label && /*#__PURE__*/_jsx(Label, { children: props.label }), /*#__PURE__*/_jsx(AvatarGroup, _extends({ max: props.maxAvatars }, props.avatarGroupProps, { children: props.children }))] }); }; export default AvatarGroupOutput;