
import { Carousel } from 'antd';
import { heroArray } from '../../data/Home';


const CarouselApp= () => (
  <Carousel >
    {heroArray.map((item:any, index:number) => (
      <div className='hero_Swiper' key={index}>
        <img src={item.src} alt="hero_image" />
      </div>
    ))}
  </Carousel>
);

export default CarouselApp;
