diff --git a/src/components/Cards/YouTubeCardStyle.jsx b/src/components/Cards/YouTubeCardStyle.jsx new file mode 100644 index 0000000..0af4233 --- /dev/null +++ b/src/components/Cards/YouTubeCardStyle.jsx @@ -0,0 +1,120 @@ +import React, { useState } from "react"; +import { Link } from "react-router-dom"; +// import { toast } from "react-toastify"; +import localImgLoad from "../../lib/localImgLoad"; +import Icons from "../Helpers/Icons"; + +export default function YouTubeCardStyle({ + className, + datas, + hidden = false, +}) { + const [addFavorite, setValue] = useState(datas.whishlisted); + const [options, setOption] = useState(false); + const favoriteHandler = () => { + if (!addFavorite) { + setValue(true); + } else { + setValue(false); + } + }; + return ( +
+
+
+
+
+

Video :

+

+ {datas.post_date} +

+
+
+
+ +
+
+
+