UNPKG

@olleemilsson/flowbite-react

Version:

<div align="center"> <h1>:construction: flowbite-react (unreleased) :construction:</h1> <p> <a href="https://flowbite-react.com"> <img alt="Flowbite - Tailwind CSS components" width="350" src=".github/assets/flowbite-react-github.png"> <

10 lines (9 loc) 433 B
import { jsx as _jsx } from "react/jsx-runtime"; import classNames from 'classnames'; import { useTheme } from '../Flowbite'; const AvatarGroup = ({ children, className }) => { const theme = useTheme().theme.avatarGroup; return (_jsx("div", { "data-testid": "avatar-group-element", className: classNames(theme.base, className), children: children })); }; AvatarGroup.displayName = 'Avatar.Group'; export default AvatarGroup;