Pass Through documentation for CommandMenu component
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.
Defines passthrough(pt) options of CommandMenu component.
| label | type | description |
|---|---|---|
| root | CommandMenuPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |
| list | CommandMenuPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the list's DOM element. |
| group | CommandMenuPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the group's DOM element. |
| groupHeading | CommandMenuPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the group heading's DOM element. |
| item | CommandMenuPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the item's DOM element. |
| empty | CommandMenuPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the empty's DOM element. |
| input | CommandMenuPassThroughType<HTMLAttributes<HTMLInputElement>> | Used to pass attributes to the input's DOM element. |