Skip to content

Commit

Permalink
Added null as acceptable value of anchorEl
Browse files Browse the repository at this point in the history
  • Loading branch information
LAITONEN committed Jul 23, 2018
1 parent 4eb6628 commit 512d690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui/src/Menu/Menu.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { ClassNameMap } from '../styles/withStyles';

export interface MenuProps
extends StandardProps<PopoverProps & Partial<TransitionHandlerProps>, MenuClassKey> {
anchorEl?: HTMLElement | ((element: HTMLElement) => HTMLElement);
anchorEl?: null | HTMLElement | ((element: HTMLElement) => HTMLElement);
disableAutoFocusItem?: boolean;
MenuListProps?: Partial<MenuListProps>;
PaperProps?: Partial<PaperProps>;
Expand Down

0 comments on commit 512d690

Please sign in to comment.