import React from "react"; import { useThemeHooks } from "@redocly/theme/core/hooks"; export interface BenefitCard { id: string; title: string; description: React.ReactNode | string; } export interface BenefitsSectionProps { eyebrow?: string; title: string; description?: string; cards: BenefitCard[]; className?: string; showImages?: boolean; listId?: string; } export const BenefitsSection: React.FC = ({ eyebrow, title, description, cards, className = "", showImages = true, listId = "benefits-list", }) => { const { useTranslate } = useThemeHooks(); const { translate } = useTranslate(); return (

{translate(title)}

{eyebrow &&
{translate(eyebrow)}
}
{description && (

{translate(description)}

)}
); };