Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
variable CommandItem
import { CommandItem } from "https://deno.land/x/netzo@0.3.66/deps/cmdk.ts";

Command menu item. Becomes active on pointer enter or through keyboard navigation. Preferably pass a value, otherwise the value will be inferred from children or the rendered item's textContent.

type

React.ForwardRefExoticComponent<
& Children
& Omit<DivProps, "disabled" | "onSelect" | "value">
& { disabled?: boolean; onSelect?: (value: string) => void; value?: string; }
& React.RefAttributes<HTMLDivElement>
>