Merge pull request #16827 from ant-design/fix/menu-ts

typescript: adding forceSubmenuRender as MenuProps
This commit is contained in:
偏右 2019-05-27 21:34:27 +08:00 committed by GitHub
commit 85303f57d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,7 @@ export interface MenuProps {
onMouseEnter?: (e: MouseEvent) => void;
getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
overflowedIndicator?: React.ReactNode;
forceSubMenuRender?: boolean;
}
type InternalMenuProps = MenuProps & SiderContextProps;