Skip to content

Commit

Permalink
fix: external extGetItemProps should bind to getItemProps
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjbray authored and emmenko committed Nov 27, 2018
1 parent 859978a commit f761c45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Downshift.re
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module ControllerStateAndHelpers = {
external getInputProps :
(t, ~options: ReactDOMRe.reactDOMProps=?, unit) => any =
"";
[@bs.send] external extGetItemProps : (t, itemPropsOptions) => any = "";
[@bs.send] external extGetItemProps : (t, itemPropsOptions) => any = "getItemProps";
[@bs.send]
external itemPropsOptions : (t, ~options: itemPropsOptions) => any = "";
/* Actions */
Expand Down
2 changes: 1 addition & 1 deletion src/Downshift.rei
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module ControllerStateAndHelpers: {
external getInputProps :
(t, ~options: ReactDOMRe.reactDOMProps=?, unit) => any =
"";
[@bs.send] external extGetItemProps : (t, itemPropsOptions) => any = "";
[@bs.send] external extGetItemProps : (t, itemPropsOptions) => any = "getItemProps";
[@bs.send]
external itemPropsOptions : (t, ~options: itemPropsOptions) => any = "";
[@bs.send] external openMenu : (t, ~cb: cb=?, unit) => unit = "";
Expand Down

0 comments on commit f761c45

Please sign in to comment.