import * as React from "react";
import { Component } from "react";
import styles from "./carousel.module.css";
import { Image, Carousel as AntdCarousel } from "antd";
import Carouse1 from "../../assets/images/carousel_1.jpg";
import Carouse2 from "../../assets/images/carousel_2.jpg";
import Carouse3 from "../../assets/images/carousel_3.jpg";
export const Carouseee: React.FC = () => {
  return (
    <AntdCarousel autoplay className={styles.slider}>
      <Image src={Carouse1}></Image>
      <Image src={Carouse2}></Image>
      <Image src={Carouse3}></Image>
    </AntdCarousel>
  );
};
