@codeworker.br/govbr-tw-react
Version:
Biblioteca de componentes React usando Tailwind CSS que implementa o Padrão Digital de Governo.
19 lines (18 loc) • 721 B
TypeScript
import { ReactNode } from "react";
import { VariantProps } from "class-variance-authority";
import avatarVariants from "../Avatar/variants";
type AvatarSize = NonNullable<VariantProps<typeof avatarVariants>["size"]>;
interface AvatarGroupProps {
children: ReactNode;
spacing?: string;
maxVisible?: number;
renderOverflowAvatar?: (extraCount: number, size: AvatarSize) => ReactNode;
className?: string;
size?: AvatarSize;
}
declare const AvatarGroup: {
({ children, spacing, maxVisible, renderOverflowAvatar, className, size, }: AvatarGroupProps): import("react/jsx-runtime").JSX.Element | null;
displayName: string;
};
export { AvatarGroup };
export type { AvatarGroupProps, AvatarSize };