---
const { images } = Astro.props;
---
<div class="carousel">
    {images.map(img => (
            <img src={img} alt="carousel item" style="width:100%; max-width:600px; margin: 1rem auto; display:block;" />
    ))}
</div>