docs(site): add menu reference (#1673)

This commit is contained in:
Sam Potts
2026-07-07 13:06:19 -05:00
committed by GitHub
parent e060cf0d54
commit cc020b4b89
14 changed files with 1082 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ export interface MenuItemProps extends UIComponentProps<'div', MenuState> {
onSelect?: () => void;
/** Whether the item is disabled. */
disabled?: boolean;
/** Setting kind for submenu triggers (`playback-rate` or `captions`). */
/** Setting kind for submenu triggers (`playback-rate`, `quality`, `audio-track`, or `captions`). */
type?: MenuItemSettingType | undefined;
}
+1 -1
View File
@@ -20,7 +20,7 @@ import type { MenuItemSettingType } from './menu-item-type';
export interface MenuTriggerProps extends Omit<UIComponentProps<'button', MenuState>, 'type'> {
/** Disables the trigger. */
disabled?: boolean;
/** Setting kind for submenu triggers (`playback-rate` or `captions`). */
/** Setting kind for submenu triggers (`playback-rate`, `quality`, `audio-track`, or `captions`). */
type?: MenuItemSettingType | undefined;
}