CommandMenu API
API documentation for CommandMenu component
CommandMenuRoot#
Props#
Defines valid properties in CommandMenu component.
State#
Exposes#
Defines the methods and properties exposed by CommandMenu component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of CommandMenu component.
Types#
Instance
Instance of CommandMenu component.
| values |
|---|
| ComponentInstance<CommandMenuRootProps, CommandMenuRootState, CommandMenuRootExposes> |
CommandMenuInput#
Props#
Defines valid properties in CommandMenuInput component.
State#
Exposes#
Defines the methods and properties exposed by CommandMenuInput component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of CommandMenuInput component.
| name | type | default | description |
|---|---|---|---|
| root | CommandMenuInputPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of CommandMenuInput component.
| values |
|---|
| ComponentInstance<CommandMenuInputProps, CommandMenuInputState, CommandMenuInputExposes> |
CommandMenuEmpty#
Props#
Defines valid properties in CommandMenuEmpty component.
State#
Exposes#
Defines the methods and properties exposed by CommandMenuEmpty component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of CommandMenuEmpty component.
| name | type | default | description |
|---|---|---|---|
| root | CommandMenuEmptyPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of CommandMenuEmpty component.
| values |
|---|
| ComponentInstance<CommandMenuEmptyProps, CommandMenuEmptyState, CommandMenuEmptyExposes> |
CommandMenuItem#
Props#
Defines valid properties in CommandMenuItem component.
State#
Exposes#
Defines the methods and properties exposed by CommandMenuItem component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of CommandPaletteItem component.
| name | type | default | description |
|---|---|---|---|
| root | CommandMenuItemPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of CommandMenuItem component.
| values |
|---|
| ComponentInstance<CommandMenuItemProps, CommandMenuItemState, CommandMenuItemExposes> |
CommandMenuGroup#
Props#
Defines valid properties in CommandMenuGroup component.
State#
Exposes#
Defines the methods and properties exposed by CommandMenuGroup component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of CommandMenuGroup component.
| name | type | default | description |
|---|---|---|---|
| root | CommandMenuGroupPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of CommandMenuGroup component.
| values |
|---|
| ComponentInstance<CommandMenuGroupProps, CommandMenuGroupState, CommandMenuGroupExposes> |
CommandMenuGroupHeading#
Props#
Defines valid properties in CommandMenuGroupHeading component.
State#
Exposes#
Defines the methods and properties exposed by CommandMenuGroupHeading component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of CommandMenuGroupHeading component.
| name | type | default | description |
|---|---|---|---|
| root | CommandMenuGroupHeadingPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of CommandMenuGroupHeading component.
| values |
|---|
| ComponentInstance<CommandMenuGroupHeadingProps, CommandMenuGroupHeadingState, CommandMenuGroupHeadingExposes> |
CommandMenuList#
Props#
Defines valid properties in CommandMenuList component.
State#
Exposes#
Defines the methods and properties exposed by CommandMenuList component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of CommandMenuList component.
| name | type | default | description |
|---|---|---|---|
| root | CommandMenuListPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of CommandMenuList component.
| values |
|---|
| ComponentInstance<CommandMenuListProps, CommandMenuListState, CommandMenuListExposes> |