"use client"; import { Command as CommandPrimitive } from "cmdk"; import type * as React from "react"; import { useTranslation } from "react-i18next"; import { LuSearch } from "react-icons/lu"; import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, } from "@/components/ui/dialog"; import { cn } from "@/lib/utils"; function Command({ className, ...props }: React.ComponentProps) { return ( ); } function CommandDialog({ title, description, children, filter, shouldFilter, ...props }: React.ComponentProps & { title?: string; description?: string; filter?: React.ComponentProps["filter"]; shouldFilter?: React.ComponentProps["shouldFilter"]; }) { const { t } = useTranslation(); const resolvedTitle = title ?? t("common.commandPalette.title"); const resolvedDescription = description ?? t("common.commandPalette.description"); return ( {resolvedTitle} {resolvedDescription} {children} ); } function CommandInput({ className, ...props }: React.ComponentProps) { return (
); } function CommandList({ className, ...props }: React.ComponentProps) { return ( ); } function CommandEmpty({ ...props }: React.ComponentProps) { return ( ); } function CommandGroup({ className, ...props }: React.ComponentProps) { return ( ); } function CommandSeparator({ className, ...props }: React.ComponentProps) { return ( ); } function CommandItem({ className, ...props }: React.ComponentProps) { return ( ); } function CommandShortcut({ className, ...props }: React.ComponentProps<"span">) { return ( ); } export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, };