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?
optionalhref?:string
Defined in: flow-ui/src/components/Command.tsx:27
Where it goes. Omit for an item driven by action.
action?
optionalaction?:string
Defined in: flow-ui/src/components/Command.tsx:29
A Flow expression run instead of navigating.
group?
optionalgroup?:string
Defined in: flow-ui/src/components/Command.tsx:31
Heading this item sits under.
keywords?
optionalkeywords?:string
Defined in: flow-ui/src/components/Command.tsx:33
Extra words that should match — synonyms, a resource's plural.
shortcut?
optionalshortcut?:string
Defined in: flow-ui/src/components/Command.tsx:35
Shortcut hint shown on the right.