UNPKG

flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

14 lines (11 loc) 603 B
import { jsx } from 'react/jsx-runtime'; import { twMerge } from 'tailwind-merge'; import { mergeDeep } from '../../helpers/merge-deep.mjs'; import { getTheme } from '../../theme-store/index.mjs'; const AvatarGroup = ({ children, className, theme: customTheme = {}, ...props }) => { const theme = mergeDeep(getTheme().avatar.group, customTheme); return /* @__PURE__ */ jsx("div", { "data-testid": "avatar-group-element", className: twMerge(theme.base, className), ...props, children }); }; AvatarGroup.displayName = "Avatar.Group"; export { AvatarGroup }; //# sourceMappingURL=AvatarGroup.mjs.map