import React from 'react' import { LmComponentRender } from '@LmComponentRender' import { SectionProps } from '../section/sectionTypes' type LmSliderChildProps = { body: any[]; sectionVariant: any } export function LmSliderChild({ body, sectionVariant }: LmSliderChildProps): JSX.Element { return (
{body.map((item) => { if (item.component === 'section') { const newOpts: SectionProps = { ...item, presetVariant: sectionVariant || 'transparent' } return } return (
) })}
) }