Skip to content

Commit

Permalink
fix(Dropdown): fix typings
Browse files Browse the repository at this point in the history
  • Loading branch information
ej9x committed Sep 9, 2020
1 parent 23909da commit 39b6a63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Dropdown/DropdownBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ type DropdownBodyProps = {
/** takes either react dom element or function */
children: React$Node | ({
toggleDropdown: () => void,
closeDropdown?: () => void,
openDropdown?: () => void,
closeDropdown: () => void,
openDropdown: () => void,
isOpen: boolean,
}) => React$Node,

Expand Down

0 comments on commit 39b6a63

Please sign in to comment.