@vertisanpro/flowbite-react
Version:
Non-Official React components built for Flowbite and Tailwind CSS
12 lines (11 loc) • 554 B
JavaScript
import { twMerge } from '@vertisanpro/tailwind-merge';
import React from 'react';
import { mergeDeep } from '../../helpers/merge-deep';
import { getTheme } from '../../theme-store';
export const AvatarGroupCounter = ({ className, href, theme: customTheme = {}, total, ...props }) => {
const theme = mergeDeep(getTheme().avatar.groupCounter, customTheme);
return (React.createElement("a", { href: href, className: twMerge(theme.base, className), ...props },
"+",
total));
};
AvatarGroupCounter.displayName = 'Avatar.GroupCounter';