CommandMenu Pass Through

Pass Through documentation for CommandMenu component

Viewer#

Some sections may not be visible due to the availability of the particular feature.

The component's PT demo referenced as commandmenu-pt is unavailable or does not exist.

CommandMenuRoot PT Options#

Defines passthrough(pt) options of CommandMenu component.

labeltypedescription
rootCommandMenuRootPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the root's DOM element.
listCommandMenuRootPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the list's DOM element.
groupCommandMenuRootPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the group's DOM element.
groupHeadingCommandMenuRootPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the group heading's DOM element.
itemCommandMenuRootPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the item's DOM element.
emptyCommandMenuRootPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the empty's DOM element.
inputCommandMenuRootPassThroughType<HTMLAttributes<HTMLInputElement>>Used to pass attributes to the input's DOM element.