import { Project } from "@/src/entities/models/project"; import { z } from "zod"; import { ProjectList } from "./project-list"; import { HorizontalDivider } from "@/components/ui/horizontal-divider"; import clsx from 'clsx'; import { XMarkIcon } from "@heroicons/react/24/outline"; interface SearchProjectsProps { projects: z.infer[]; isLoading: boolean; heading: string; subheading?: string; className?: string; onClose?: () => void; } export function SearchProjects({ projects, isLoading, heading, subheading, className, onClose }: SearchProjectsProps) { return (

{heading}

{onClose && ( )}
{subheading && (

{subheading}

)}
); }