mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
docs(site): add menu reference (#1673)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user