import Typography, { TypographyProps, } from "@/components/ui/Typography/Typography"; import Avatars from "@/components/widgets/Avatars/Avatars"; import { cn } from "@/lib/utils"; interface JoinedTodayWithAvatarsProps extends React.ComponentProps<"div"> { avatars?: React.ComponentProps; count?: TypographyProps<"span">; text?: TypographyProps<"p">; } export default function JoinedTodayWithAvatars({ avatars, count, text, ...props }: JoinedTodayWithAvatarsProps) { return (
{avatars && ( )} {text && ( {count && ( )}{" "} {text.children} )}
); }