Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/cmdk.ts>CommandItem

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
variable CommandItem
import { CommandItem } from "https://deno.land/x/netzo@0.4.72/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>
>