made all pages

This commit is contained in:
Alibek committed 2024-02-13 19:18:07 +06:00
1 parent f6ceb252b2
commit d6c6504d1f
57 files changed
+2260 -43

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
import "./ReportLike.scss";
import Image from "next/image";
import like from "./icons/like.svg";
import { apiInstance } from "@/shared/config/apiConfig";
interface IReportLikeProps {
count: number;
}
const ReportLike: React.FC<IReportLikeProps> = ({
count,
}: IReportLikeProps) => {
const likeReport = async () => {
const res = await apiInstance.post("");
};
return (
<button className="report-like">
<Image src={like} alt="Like Icon" />
<span>{count}</span>
</button>
);
};
export default ReportLike;