import { useRouter } from "next/router"; import { ArrowLeft, Search, Plus } from "lucide-react"; // ui import { BreadcrumbItem, Breadcrumbs, Button } from "@plane/ui"; // helper import { truncateText } from "helpers/string.helper"; // hooks import { useMobxStore } from "lib/mobx/store-provider"; import { observer } from "mobx-react-lite"; export const ProjectsHeader = observer(() => { const router = useRouter(); // store const { project: projectStore, workspace: workspaceStore } = useMobxStore(); const currentWorkspace = workspaceStore.currentWorkspace; return (
router.back()}>
projectStore.setSearchQuery(e.target.value)} placeholder="Search" />
); });