Skip to main content
zerotal

Documentation


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

Interface: CommandItem

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

Properties

label

label: string

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


href?

optional href?: string

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

Where it goes. Omit for an item driven by action.


action?

optional action?: string

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

A Flow expression run instead of navigating.


group?

optional group?: string

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

Heading this item sits under.


keywords?

optional keywords?: string

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

Extra words that should match — synonyms, a resource's plural.


shortcut?

optional shortcut?: string

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

Shortcut hint shown on the right.