import { useApp } from "../../../../../../hooks"; import { LogoCloudDto } from "./LogoCloudsBlockUtils"; export default function LogoCloudsVariantWithHeading({ headline, items }: { headline?: string; items: LogoCloudDto[] }) { const { t } = useApp(); return (
{headline && (

{t(headline)}

)}
{items.map((item, idx) => { return ( {!item.srcDark ? ( {item.alt} ) : ( <> {item.alt} {item.alt} )} ); })}
); }