Completely updated React, fixed #11, (hopefully)

This commit is contained in:
2018-03-04 19:11:49 -05:00
parent 6e0afd6e2a
commit 34e5f5139a
13674 changed files with 333464 additions and 473223 deletions

View File

@@ -1,24 +1,17 @@
import * as React from 'react';
import { PopoverProps, PopoverClassKey } from '../Popover';
import { TransitionDuration, TransitionHandlers } from '../internal/transition';
import { MenuListProps } from './MenuList';
import { StandardProps } from '..';
import { TransitionHandlerProps, TransitionProps } from '../transitions/transition';
export interface MenuProps extends StandardProps<
PopoverProps & Partial<TransitionHandlers>,
MenuClassKey
> {
export interface MenuProps
extends StandardProps<PopoverProps & Partial<TransitionHandlerProps>, MenuClassKey> {
anchorEl?: HTMLElement;
MenuListProps?: MenuListProps;
onRequestClose?: React.EventHandler<any>;
open?: boolean;
transitionDuration?: TransitionDuration;
MenuListProps?: Partial<MenuListProps>;
transitionDuration?: TransitionProps['timeout'] | 'auto';
}
export type MenuClassKey =
| PopoverClassKey
| 'root'
;
export type MenuClassKey = PopoverClassKey | 'root';
declare const Menu: React.ComponentType<MenuProps>;