Repository URL to install this package:
|
Version:
0.0.6 ▾
|
import React from 'react';
import { NO_OP } from 'exotic';
import { MenuItemType } from '../typings';
export interface MenuDropdownProps {
children: any[];
title?: string;
isTouchEnabled: boolean;
onClick?: (...args: any) => void;
icon?: React.ReactNode;
className?: string;
item: MenuItemType;
}
declare class MenuDropdown extends React.Component<MenuDropdownProps> {
static defaultProps: {
children: never[];
title: string;
isTouchEnabled: boolean;
onClick: typeof NO_OP;
icon: null;
};
toggle: () => void;
show: (event?: any) => void;
hide: (event?: any) => void;
render(): JSX.Element;
}
export default MenuDropdown;