import Image from "next/image"; import React from "react"; import NoData from "@/assets/svg/images/no-data.svg"; import { Button } from "@/components/ui/button/button"; import Card from "@/components/ui/card/card"; import { useLocale } from "@/hooks/useLocale"; type Props = { text?: string; onClearFilter?: () => void; }; const NoListData = (props: Props) => { const { t } = useLocale(); return ( No data svg

{/* @todo - add translation for this area */} {props.text || t( "There are no results for the selected filters. Please try again with different filters.", )}

{props.onClearFilter && ( )}
); }; export default NoListData;