import React from "react"; import { connect } from "react-redux"; import { book } from "../../../../redux/actions"; import { Carousel } from "@trendyol-js/react-carousel"; //assets import arrow from "../../../../assets/icons/dropdown-blue.svg"; import Product from "../../../../components/Product"; import "./index.css"; //assets const SalesContainer = ({ books }) => { return (
{/*
*/}

{" "} دوشنبه{" "}

{" "} کتاااابی{" "}

بیش از ۵۰ کتاب تخفیف خورده 

{books.length > 0 && (
e.stopPropagation()} /> } leftArrow={ e.stopPropagation()} /> } > {books.map((product, index) => ( ))}
)}
); }; const mapStateToProps = (state) => ({ isDark: state.publicApi.isDark, }); export default connect(mapStateToProps, { getList: book.list })(SalesContainer);