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.
| label | type | description |
|---|---|---|
| root | CommandMenuRootPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the root's DOM element. |
| list | CommandMenuRootPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the list's DOM element. |
| group | CommandMenuRootPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the group's DOM element. |
| groupHeading | CommandMenuRootPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the group heading's DOM element. |
| item | CommandMenuRootPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the item's DOM element. |
| empty | CommandMenuRootPassThroughType<HTMLAttributes<HTMLDivElement>> | Used to pass attributes to the empty's DOM element. |
| input | CommandMenuRootPassThroughType<HTMLAttributes<HTMLInputElement>> | Used to pass attributes to the input's DOM element. |