task-managment / src / components / tasks / NoTasksFound.tsx
NoTasksFound.tsx
Raw
"use client";

import Image from "next/image";

const NotTaskFound= ({children,width=100,height=100}:{children?:React.ReactNode,height?:number,width?:number}) => {
  return (
      <div>
      
        <Image
          width={width}
          height={height}
          src="/empyTask.svg"
          alt="not found icon"
          className="m-auto"
        ></Image>
          <div>
          {children}
        </div>
      </div>
  );
};

export default NotTaskFound;