import React from "react"; import { IMenuItemProps, IMenuProps, IPopoverProps } from "@blueprintjs/core"; /** * ---------------------------------------------------------------------------- * TYPES *----------------------------------------------------------------------------- */ type Props = { enableSearch?: boolean; searchPlaceholder?: string; children: React.ReactElement[] | React.ReactElement; }; /** * ---------------------------------------------------------------------------- * COMPONENTS *----------------------------------------------------------------------------- */ declare function DropdownV2(props: IPopoverProps & Props): JSX.Element; declare function DropdownList(props: IMenuProps): JSX.Element; declare namespace DropdownList { var displayName: string; } declare function DropdownTrigger(props: any): JSX.Element; declare namespace DropdownTrigger { var displayName: string; } declare function DropdownItem(props: IMenuItemProps): JSX.Element; declare namespace DropdownItem { var displayName: string; } export { Props, DropdownV2, DropdownList, DropdownItem, DropdownTrigger };