"use client" import * as React from "react" import { CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, } from "@/examples/base/ui/command" import { Calculator, Calendar, CreditCard, Settings, Smile, User, } from "lucide-react" export function CommandDialogDemo() { const [open, setOpen] = React.useState(false) React.useEffect(() => { const down = (e: KeyboardEvent) => { if (e.key === "j" && (e.metaKey || e.ctrlKey)) { e.preventDefault() setOpen((open) => !open) } } document.addEventListener("keydown", down) return () => document.removeEventListener("keydown", down) }, []) return ( <>

Press{" "} J

No results found. Calendar Search Emoji Calculator Profile ⌘P Billing ⌘B Settings ⌘S ) }