diff --git a/packages/patternfly-4/react-core/src/components/Dropdown/Dropdown.d.ts b/packages/patternfly-4/react-core/src/components/Dropdown/Dropdown.d.ts index 73cd99a223b..2567703c7e4 100644 --- a/packages/patternfly-4/react-core/src/components/Dropdown/Dropdown.d.ts +++ b/packages/patternfly-4/react-core/src/components/Dropdown/Dropdown.d.ts @@ -1,15 +1,17 @@ import { SFC, HTMLProps, ReactType, ReactNode } from 'react'; import { OneOf } from '../../typeUtils'; -import { DropdownToggleProps } from './DropdownToggle'; +import DropdownToggle from './DropdownToggle'; import { DropdownPosition, DropdownDirection } from './dropdownConstants'; export interface DropdownProps extends HTMLProps { children?: ReactNode; - isOpen?: Boolean; - isAction?: Boolean; + dropdownItems: ReactNode[]; + isOpen?: boolean; + isAction?: boolean; + onSelect?: Function; position?: OneOf; direction?: OneOf; - toggle?: DropdownToggleProps; + toggle?: DropdownToggle; } declare const Dropdown: SFC; diff --git a/packages/patternfly-4/react-core/src/components/Dropdown/DropdownToggle.d.ts b/packages/patternfly-4/react-core/src/components/Dropdown/DropdownToggle.d.ts index 0101a28fccf..06a75331703 100644 --- a/packages/patternfly-4/react-core/src/components/Dropdown/DropdownToggle.d.ts +++ b/packages/patternfly-4/react-core/src/components/Dropdown/DropdownToggle.d.ts @@ -3,9 +3,9 @@ import { SFC, HTMLProps, ReactType, ReactNode } from 'react'; export interface DropdownToggleProps extends HTMLProps { id?: string; children?: ReactNode; - isOpen?: Boolean; + isOpen?: boolean; onToggle?: Function; - parentRef: HTMLElement; + parentRef?: HTMLElement; isFocused?: boolean; isHovered?: boolean; isActive?: boolean;