import { useTranslations } from "next-intl"; export function Features({ features }: { features: string[] }) { const t = useTranslations(); if (!features || features.length === 0) { return null; } return (

{t("products.features")}

{features.map((feature, index) => ( ))}
{t("products.feature")}
{feature}
); }