19 lines
		
	
	
		
			632 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			632 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import * as React from 'react';
 | 
						|
import { PopoverProps, PopoverClassKey } from '../Popover';
 | 
						|
import { MenuListProps } from './MenuList';
 | 
						|
import { StandardProps } from '..';
 | 
						|
import { TransitionHandlerProps, TransitionProps } from '../transitions/transition';
 | 
						|
 | 
						|
export interface MenuProps
 | 
						|
  extends StandardProps<PopoverProps & Partial<TransitionHandlerProps>, MenuClassKey> {
 | 
						|
  anchorEl?: HTMLElement;
 | 
						|
  MenuListProps?: Partial<MenuListProps>;
 | 
						|
  transitionDuration?: TransitionProps['timeout'] | 'auto';
 | 
						|
}
 | 
						|
 | 
						|
export type MenuClassKey = PopoverClassKey | 'root';
 | 
						|
 | 
						|
declare const Menu: React.ComponentType<MenuProps>;
 | 
						|
 | 
						|
export default Menu;
 |