import { getColorGradient } from '@/utils/colorParser'; import { ThemeIcon } from './ThemeIcon'; import type { BlockRendererProps } from './types'; export function MinimalBlock({ blocks, isMobile, getLocalizedText, getSvgHtml, renderBlockButtons, }: BlockRendererProps) { return (
{blocks.map((block, index) => { const gradientStyle = getColorGradient(block.svgIconColor || 'cyan'); const isLast = index === blocks.length - 1; return (
{getLocalizedText(block.title)}

{getLocalizedText(block.description)}

{renderBlockButtons(block.buttons, 'subtle')}
); })}
); }