import { type ReactNode } from "react"; import { cx } from "@/utils/cx"; import { Avatar, type AvatarProps } from "./avatar"; const styles = { sm: { root: "gap-2", title: "text-sm font-semibold", subtitle: "text-xs" }, md: { root: "gap-2", title: "text-sm font-semibold", subtitle: "text-sm" }, lg: { root: "gap-3", title: "text-md font-semibold", subtitle: "text-md" }, xl: { root: "gap-4", title: "text-lg font-semibold", subtitle: "text-md" }, }; interface AvatarLabelGroupProps extends AvatarProps { size: "sm" | "md" | "lg" | "xl"; title: string | ReactNode; subtitle: string | ReactNode; } export const AvatarLabelGroup = ({ title, subtitle, className, ...props }: AvatarLabelGroupProps) => { return (

{title}

{subtitle}

); };