import type { ReactNode } from "react"; import { useTranslation } from "react-i18next"; import { IconChevronDown, IconChevronRight, IconPlus } from "@tabler/icons-react"; import { Button } from "@kandev/ui/button"; import { Sheet, SheetContent } from "@kandev/ui/sheet"; import { TaskSwitcherDrawer } from "./task-switcher-drawer"; export function InlineTaskHeader({ expanded, onExpandedChange, onNewTask, }: { expanded: boolean; onExpandedChange: (expanded: boolean) => void; onNewTask: () => void; }) { const { t } = useTranslation(); return (