Map for render html according to data array

PHOTO EMBED

Tue Feb 22 2022 10:24:07 GMT+0000 (UTC)

Saved by @shanleo ##javascript #html

const imagesMarkup = imageData && imageData.map((line: any) => (
        <BannerStripeImage
            img={line.src} key={line.src}/>
    ))

    return (
        <div>
            {imagesMarkup}
        </div>
    )
content_copyCOPY