"use client"; import { ComponentType, ReactNode } from "react"; import { cn } from "../../utils"; type EntityHeroMetaRowProps = { icon?: ComponentType<{ className?: string }>; children: ReactNode; className?: string; }; export function EntityHeroMetaRow({ icon: Icon, children, className }: EntityHeroMetaRowProps) { return (
{Icon ? : null} {children}
); }