Исследование провёл
{doctor.name.split(' ').slice(0,2).join(' ')}
Готово
{images.map((img, i) => (
))}
Диагноз
{diagnoses.map(d => {d})}
Рекомендации
{recommendations.map((rec, i, a) => (
))}
{selected !== null && (
setSelected(null)}
style={{
position: 'absolute', inset: 0, background: 'rgba(0,0,0,0.95)', zIndex: 200,
display: 'flex', flexDirection: 'column',
}}
>
{images[selected].label}
e.stopPropagation()}
style={{ flex: 1, display: 'flex', alignItems: 'center', justifyContent: 'center', padding: '0 20px' }}
>
{images.map((_, i) => (
)}