VK
Может ему можно дденериком передать тип компонента, который он будет загружать
Size: a a a
VK
SC
VK
ИИ
AZ

J
AZ
J
AZ
.map( ( [type, content, ...args])=>{
    return type === 'h1' ? h1>{content}</h1 :  type === 'div' ? div>{content}</div : null
})AZ
as
{lesson.map(([tag, content]) => React.createElement(tag, null, content))}A
AZ
VK
i
A
PD
i