Skip to content

Commit

Permalink
chore(typescript): add type definitions for scrollIntoView prop (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamminj authored and silviuaavram committed Aug 9, 2019
1 parent a46289a commit 931d876
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export interface DownshiftProps<Item> {
getItemId?: (index?: number) => string
environment?: Environment
onOuterClick?: (stateAndHelpers: ControllerStateAndHelpers<Item>) => void
scrollIntoView?: (node: HTMLElement, menuNode: HTMLElement) => void
onUserAction?: (
options: StateChangeOptions<Item>,
stateAndHelpers: ControllerStateAndHelpers<Item>,
Expand Down

0 comments on commit 931d876

Please sign in to comment.