"use client"; import { SwiperArrowIconLeft } from "@/app/utils/svgs/swiperArrowIconLeft"; import { SwiperArrowIconRight } from "@/app/utils/svgs/swiperArrowIconRight"; import { A11y, Keyboard, Mousewheel, Navigation, Pagination, Scrollbar, } from "swiper/modules"; import { Swiper, SwiperSlide } from "swiper/react"; import { BrandCard } from "../reuseableUI/brandCard"; import Heading from "../reuseableUI/heading"; import type { CategoryAPIType } from "@/lib/api/shopTypes"; interface BrandSwiperProps { brands: CategoryAPIType[]; } export const BrandsSwiperClient = ({ brands }: BrandSwiperProps) => { return (
{brands.map((brand, index) => ( ))}
); };