classify web
This commit is contained in:
21
components/EmptyStates/NoData.jsx
Normal file
21
components/EmptyStates/NoData.jsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import NoDataFound from "../../public/assets/no_data_found_illustrator.svg";
|
||||
import { t } from "@/utils";
|
||||
import CustomImage from "../Common/CustomImage";
|
||||
|
||||
const NoData = ({ name }) => {
|
||||
return (
|
||||
<div className="text-center flex flex-col items-center justify-center gap-2 h-[50vh]">
|
||||
<div>
|
||||
<CustomImage src={NoDataFound} alt="no_img" width={200} height={200} />
|
||||
</div>
|
||||
<div className="flex flex-col gap-1">
|
||||
<h3 className="text-2xl font-medium text-primary">
|
||||
{t("no")} {name} {t("found")}
|
||||
</h3>
|
||||
<p>{t("sorryTryAnotherWay")}</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default NoData;
|
||||
Reference in New Issue
Block a user