import React, { useEffect } from "react"; import Navbar from "../../components/Navbar/index"; import Footer from "../../views/Home/Footer/index"; import LessonPlayList from "./LessonPlayList/index"; import Attachments from "./Attachments/index"; import Book from "./Book/index"; import Comment from "./Comment/index"; import AddComment from "./AddComment/index"; import Video from '../../components/JolPlayer'; import "./index.scss"; import listIcon from "../../assets/icons/list.png"; import { connect } from "react-redux"; import scroll from "../../util/scroll.js"; import { book } from "../../redux/actions"; function VodTube({ videoList, getList, list, selectedVideo, comments }: any) { useEffect(() => { getList(); scroll.goToTop(); }, []); return (
{/* */}

نظرات

{comments?.map((comment: any, i: any) => ( ))}

{videoList.name}

در این قسمت توضیحی کوتاه قرار می گیرد

{videoList.lessons?.map((lesson: any, i: any) => ( ))}

فایل پیوست تمارین این فصل

در این قسمت توضیحی کوتاه قرار می گیرد

{videoList.attachments?.map((file: any, i: any) => ( ))}

پیشنهاد دانوین برای شما

تا 50% تخفیف
{list?.slice(0, 3).map((item: any, i: any) => ( ))}

نظرات

{comments?.map((comment: any, i: any) => ( ))}
); } export default connect( (state: any) => ({ videoList: state.book.mockVideoList, selectedVideo: state.book.selectedVideo, list: state.book.list, comments: state.book.comments, }), { getList: book.list } )(VodTube);