Skip to main content
zerotal

Documentation


Documentation / @zerotal/flow-ui / index / CommandProps

Interface: CommandProps

Defined in: flow-ui/src/components/Command.tsx:38

Indexable

[key: string]: unknown

Properties

items

items: CommandItem[]

Defined in: flow-ui/src/components/Command.tsx:39


placeholder?

optional placeholder?: string

Defined in: flow-ui/src/components/Command.tsx:41

Placeholder in the search box.


emptyMessage?

optional emptyMessage?: string

Defined in: flow-ui/src/components/Command.tsx:43

Shown when nothing matches.


hotkey?

optional hotkey?: string | null

Defined in: flow-ui/src/components/Command.tsx:48

Key that opens it, with the platform modifier. Defaults to k. Pass null to mount it closed with no global shortcut, opened by your own code.


class?

optional class?: string

Defined in: flow-ui/src/components/Command.tsx:49